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

specify the user wan interface

Scheduled Pinned Locked Moved Captive Portal
2 Posts 2 Posters 285 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.
  • A
    aminbaik
    last edited by Sep 28, 2023, 11:20 AM

    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.

    G 1 Reply Last reply Sep 29, 2023, 10:11 AM Reply Quote 0
    • G
      Gertjan @aminbaik
      last edited by Gertjan Sep 29, 2023, 10:14 AM Sep 29, 2023, 10:11 AM

      @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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received