Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    route the ip address after authentication

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 608 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      netx34
      last edited by

      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.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @netx34
        last edited by

        @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.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        N 1 Reply Last reply Reply Quote 1
        • N
          netx34 @Gertjan
          last edited by

          @gertjan

          great info from you sir, thank you for that

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.