New gateway causes all traffic to be rerouted
-
I've added an OpenVPN client connection to route only specific traffic from LAN1 through this VPN. Note that I still want other traffic from this LAN to be routed over my ISP's connection. pfSense automatically created a gateway for this VPN, and I added the necessary allow outbound rule to specific URLs via the VPN gateway. So far everything seems to work fine.
Note that I have several other LANs for IPTV, guests, etc. Lets call these LAN2 and LAN3
I've also marked my ISP connection as the default gateway under System/Routing/Gateways, as I still want regular traffic to be routed through my ISP's connection.
Now, somehow, I'm running into internet connection problems on LAN2 and LAN3. It seems that, even though I've set the default gateway, traffic from these LANs is being routed through the VPN, which is not supposed to happen.
I have the idea that pfSense is routing traffic through the newest gateway that has been created instead of the default gateway, but perhaps I'm misunderstanding the way pfSense handles gateways.
Any idea what is happening here?
-
Make sure you have the Don't pull routes option checked in your OpenVPN Client configuration:
-Rico