Windows 10 Is there any way to setup default gateway when vpn is active?


New Member
Oct 21, 2021
Hello! When turn on the vpn, when navigate first is going throught vpn, instead my router... So, is there any way to setup default gateway my router when vpn is active?
If you're talking about a software VPN it should handle changing the routing automatically.
I use OpenVPN to connect to database. But when is ON my traffic goes to vpn instead my router. I need all my traffic go to my router/isp and ONLY the database connection (will fail if intent at my router/isp) go through vpn/remote server
Last edited:
If you want specific traffic to not traverse the VPN you'll need to configure split tunneling. OpenVPN does have documentation for split tunneling.
Top Bottom