Captive Portal page on wrong subnet
I am trying to setup captive portal for the first time.
I have the following subnets created
vlan 100 (servers)- 192.168.1.0/24
vlan 110 (work)- 192.168.2.0/24
vlan 120 (client)- 192.168.3.0/24
vlan 130 (Guest- 192.168.4.0/24
Currently I have an NPS server setup to determine which vlan a user gets assigned to. This works great. Now what I want to do is if a user gets bumped to the guest network I want to use captive portal to have the user login to get internet access.
I have setup captive portal on vlan 130. I uploaded a page and when I click view it uses 192.168.2.1:8002 which is the work vlan. I need it to go to 192.168.4.1:8002
Any suggestions would be great.
heper last edited by
the webserver that serves the page listens on all interfaces (unless you'd active block it). The forced redirect towards it, will only happen on the specified interface/vlan
Thanks for the response.
Currently I have captive portal set on the guest vlan. I plug in to a port on that vlan and I get an IP address from the firewall. I can access the firewall using 192.168.4.1 but the cp page won't come up if I type in 192.168.4.1:8002, I just get a blank page. If I connect to port on the work vlan I can enter 192.168.2.1:8002 and get the login page. It does block me from getting any where on the network though.
Currently, this is in my test environment so currently all my rules are allow any.
Is there a setting or something that I can change to have it load on the proper network. I have tried removing and adding the captive portal a couple of times.
I was able to get this resolved. It turned out to be a problem with my switch. I backed it up, defaulted it and restored the config and everything started working.