specify the user wan interface
-
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. -
Captive portal, or not, you should know who connects to your network.
Portal users : you gave the login credentials, rightNext 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.