route the ip address after authentication
-
my portal is fully functional, but i just want to add an features to configure on changing the ipaddress after they enter the valid voucher code or an username and password,
Examples; they connected to 10.10.10.1-100 > this is the captive portal page and they get an ip address 10.10.10.1-100 and then afther the authentication the ipaddress will get change to 192.168.20.1-255.
-
@netx34 said in route the ip address after authentication:
then afther the authentication the ipaddress will get change to 192.168.20.1-255.
This can't happen - not on the network called Internet (Ethernet) as we know it.
It's the client-device that declares his IP (== static, not a good choice when using unknown , like captive portal networks) or DHCP : it asks an upstream DHCP server for network info.
Forcing a client device to change IP settings on the fly : never saw that before.What you want needs a smart switch or even router in between with VLAN capabilities, routing rules, and the captive portal to set some VLAN after logging in. I guess with FreeRadius and again, some intermediate hardware, it can be done.
-
great info from you sir, thank you for that