mimugmail / opn-repo

OPNsense repo by mimugmail
Other
325 stars 24 forks source link

Assign vLAN for Unifi Plug-in #201

Closed Mark-Hicks closed 4 months ago

Mark-Hicks commented 4 months ago

I am wondering if there is a way to bind the unifi plug-in to a vLAN interface? This would be very helpful as all my WAPs are managed on a separate vLAN and, given how the firewall is positioned in the network, running the Unifi controller on the LAN interface is not ideal for my use case.

mimugmail commented 4 months ago

The controller will listen on All interfaces per default and you can manage access via Firewall rules

Mark-Hicks commented 4 months ago

Excellent. Thank you for the quick response...

I created a vLAN interface, assigned it, set it to the static IP previously used by my cloud key, created a single rule to allow the subnet of the vLAN inbound to "This Firewall" and restored a backup from my Cloud Key... I can now manage the WAPs from the controller instance on the OpnSense...

Thanks for your time and effort on this plug-in!