pfsense with unifi controller jail
-
Hi forum, I have a pfsense 2.6 box (gigabyte ga-ha110tn, intel i5-6500t, 32Gb ddr4, intel 4x1gbe, dual msata 128gb with ZFS mirror configuration) Working along a unifi 6 LR AP.
I have 3 vlans (I have more but for the sake of simplicity of this post I will go short on description), users, guests, and administration. Those 3 Vlans are in a vlan trunk to the AP.
Everything is working as expected and the performance is awesome.What I want is to know how to have the unifi controller inside the pfsense running in a jail. My plan is to create a bridge on the em0 (my dedicated admin interface in the same network that the admin network of the UNIFI), and put the unifi controller and the pfsense admin portal. In this way, I can keep off the controller until I need to manage something on the AP.
I was able to make this kind of setup on TrueNAS with iocage, but I found no jail support in pfsense.
I found this post on google but maybe there are other alternatives.
Edit: I found the nonoficial uniti script but I don't want the unifi controller to coexists with the main SO. If I use that script, will be in a jail.
Thank you! Regards!
-
There isn't a way to do it, and shouldn't be. Do not run something like that on your firewall, especially the unifi controller as it requires Java.
That is not a task you should be overloading on a security device.