1
16.7 Legacy Series / Captive Portal
« on: December 19, 2016, 03:10:01 pm »
Hi,
I have a OPNsense server with two physical interfaces, there are multiple VLAN's setup on the physical nics.
There is one virtual WAN interface and multiple virtual LAN interfaces.
I have setup a captive portal on one of the VLANs for wireless guests. This works however I do have an issue if I add that VLAN nic to the proxy server (setup in transparent mode) and the relevant firewall/NAT rules then this breaks the captive portal. I understand that this is because it is probably redirecting to the proxy before authenticating via the captive portal. But I do not know what I need to do to remedy this??
The second issue I have is I created a second captive portal and setup my test VLAN to use it, the purpose of this was to play with the firewall rules and see if I could solve the issue above. However there seems to be an issue that as soon as I enable the second captive portal it causes the first captive portal on the wireless guest network to result in a 404 error and I can see that the zone0 folder disappears from the /var/captiveportal directory. The zones are set to 0 and 1 respectively so I am stumped as to what is the cause of this issue??
Would really appreciate any help given.
I have a OPNsense server with two physical interfaces, there are multiple VLAN's setup on the physical nics.
There is one virtual WAN interface and multiple virtual LAN interfaces.
I have setup a captive portal on one of the VLANs for wireless guests. This works however I do have an issue if I add that VLAN nic to the proxy server (setup in transparent mode) and the relevant firewall/NAT rules then this breaks the captive portal. I understand that this is because it is probably redirecting to the proxy before authenticating via the captive portal. But I do not know what I need to do to remedy this??
The second issue I have is I created a second captive portal and setup my test VLAN to use it, the purpose of this was to play with the firewall rules and see if I could solve the issue above. However there seems to be an issue that as soon as I enable the second captive portal it causes the first captive portal on the wireless guest network to result in a 404 error and I can see that the zone0 folder disappears from the /var/captiveportal directory. The zones are set to 0 and 1 respectively so I am stumped as to what is the cause of this issue??
Would really appreciate any help given.