Do not route internet traffic trough OpenVPN
-
Hi everybody,
I've been busy with this issue for a few days now and I can't seem to figure it out. I'm running the latest version of pfsense and i'm using it with OpenVPN. The thing is, I want to use OpenVPN only to access a certain range on my local network (let's say 10.8.0.0 255.255.255.0). This works fine, but all my networking/routing is done by OpenVPN at this point when i'm connected.
I don't want internet traffic to be routed trough OpenVPN when i'm connected. In this case blocking port 80/443 is not an option.
Help is greatly appreciated!
-
Uncheck "Redirect gateway" in the OpenVPN server setting and enter the subnet(s) you want to route over the vpn in the "Local network/s" box.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.