VLAN 100 to use different WAN
-
I have 4 interfaces defined in pfSense,
LAN - standard LAN interface running DHCP
VLAN100 - vlan interface sitting on top of LAN also running DHCP
WAN - standard WAN interface connected to cable modem
OpenVPN - an open VPN client interface that connects through the WAN port to a VPN server in the USI can get all traffic from the LAN to go through the VPN and also all traffic from the VLAN100 interface to go through the VPN. What I would like to do is have all traffic for the LAN exit via the WAN and not via the VPN connection. This way if I want to use the VPN I can just connect to a port on the switch that is configured for vlan 100. Does that make sense?
Thanks for reading
-
You probably want to check Don't pull routes in the VPN client connection. That will stop you from pulling a default route from the VPN provider allowing you to selectively use policy routing to send only selected traffic over the VPN.
https://doc.pfsense.org/index.php/What_is_policy_routing
https://doc.pfsense.org/index.php/Bypassing_Policy_Routing
There are already lots of threads about doing this.
-
Thanks, I will give it a try.
-
hmmm, well that work. Little easier than I expect :-) Thanks for your help