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

    specify the user wan interface

    Captive Portal
    2
    2
    283
    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.
    • A
      aminbaik
      last edited by

      Hello,
      i have two wan interfaces and one lan some users should be working on wan 1 and others on wan2
      i do it using static ip but the problem is that we cant identify the users ... so is there any way to identify the users using the captive portal and specify the wan for each user?
      thanks.

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

        @aminbaik

        Captive portal, or not, you should know who connects to your network.
        Portal users : you gave the login credentials, right 😊

        Next time : when give them the login, ask them to give you their device's MAC address.
        With the MAC, you can set up a "static DHCP Lease" and from that moment, when a user (person) connects, you == actually : pfSense, will know who it is.

        => or observe the pfSense log Status > System Logs > Authentication > Captive Portal Auth and yo can see what 'login' uses what MAC (and IP) addresses.
        => Or look at the Captive Portal Status Dashboard widget.

        With the IP you (== pfSense) can do what is called policy routing.

        Captive portals make often use of policy routing, as you do not want the un trusted portal users using your WAN IP. Image these users use infected devices, you'll be having troubles. See this example.

        I'm using the captive portal for a hotel, and I should (as I'm actually not doing it right now) route my captive portal users over to a "VPN ISP".
        Using a VPN for them can gibe issues, as, for example, Netflix usage could be impossible.
        The choice is up to you.

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

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