31
20.1 Legacy Series / Captive portal not working
« on: April 11, 2020, 03:44:30 pm »
Hi there
I am trying to get the Captive Portal with my Guest network to operate. However, the problem is that ano clients are automatically forwarded to the login page (iPad, Chrome phone or Windows computer)
I configured it according to the documentation (https://docs.opnsense.org/manual/how-tos/guestnet.html).
What is strange for me is that it was working before (as I'm new to OPNsense & I've started implementation not so long ago, I can't tell exactly when it started not to work anymore. I've configured the base as in the doc, saw it was working and let it there. I've the feeling it was working with 20.1.3 but I can't vouch if 20.1.4 broke the thing.
What is weird, whenever it was redirecting or now (not working anymore), my captive portal is accessible at http://192.168.XXX.1:8001 (not 8000 as I saw almost everywhere). I can't explain why and don't know if it is a config issue.
However, otherwise I just get "server not found" when I try to open any page, no matter if https or http.
Some settings about the setup:
- 2 physical NICs (it's a VM), one is WAN, the other is tagged for all the different subnets (guest, prod, mutimedia)
- I'm not using a proxy (for now)
- I'm using Unbound with DNSsec active
- the captive portal is not using SSL and no hostname is defined.
- DHCP works fine in the guest
I've the feeling with other threads in forum that tagged interfaces are often linked with issue... is it ?
Anyway, I'd like to have some help, so I can also understand better how everything works together.
Thanks in advance !
I am trying to get the Captive Portal with my Guest network to operate. However, the problem is that ano clients are automatically forwarded to the login page (iPad, Chrome phone or Windows computer)
I configured it according to the documentation (https://docs.opnsense.org/manual/how-tos/guestnet.html).
What is strange for me is that it was working before (as I'm new to OPNsense & I've started implementation not so long ago, I can't tell exactly when it started not to work anymore. I've configured the base as in the doc, saw it was working and let it there. I've the feeling it was working with 20.1.3 but I can't vouch if 20.1.4 broke the thing.
What is weird, whenever it was redirecting or now (not working anymore), my captive portal is accessible at http://192.168.XXX.1:8001 (not 8000 as I saw almost everywhere). I can't explain why and don't know if it is a config issue.
However, otherwise I just get "server not found" when I try to open any page, no matter if https or http.
Some settings about the setup:
- 2 physical NICs (it's a VM), one is WAN, the other is tagged for all the different subnets (guest, prod, mutimedia)
- I'm not using a proxy (for now)
- I'm using Unbound with DNSsec active
- the captive portal is not using SSL and no hostname is defined.
- DHCP works fine in the guest
I've the feeling with other threads in forum that tagged interfaces are often linked with issue... is it ?
Anyway, I'd like to have some help, so I can also understand better how everything works together.
Thanks in advance !