Openvpn against expressvpn tutorial video and a question about routing
-
Hi all I have created a video showing how to set up a openvpn gateway to use policy based routing against a expressvpn server.
Everything is working fine except one small thing. ip traffic from the pfsense server itself is routed through the vpn. Is there any way to prevent this from happening?
For those wanting to have a look at the video here is the link: https://youtu.be/dOukRmaP6-I
I apologize for the bad soundtrack as it was made in the middle of the summer and my AC was broken at the time so I used a small fan to cool me down :)
-Ivar
-
On your client config select the Don't pull routes checkbox. Notice in your logs that ExpressVPN is pushing a default route to you. Checking the Don't pull routes checkbox will add route-nopull; to your configuration.
You will then be in complete control of what traffic is sent to the VPN using policy routing.
-
Thanks a bunch. That did the trick.
-Ivar