Page 1 of 1

Preventing programs from routing through the VPN

Posted: Tue Jul 10, 2018 6:07 pm
by zaf
Have a softether vpn server (set up by a friend).
Is there a way to stop certain programs (specifically voip programs like Discord and Teamspeak) from being routed through the VPN and instead use the normal internet connection? (either through a setting in the server or client maybe)

Discord and Teamspeak dont work through the VPN (and i dont want them to)

My specific setup is to play Lan games through it (this part already works) but also being able to communicate using those voip programs.

Re: Preventing programs from routing through the VPN

Posted: Wed Jul 18, 2018 7:01 am
by thisjun
Windows doesn't support application based routing.
However, please try to increase the metric value of the virtual NIC.
This configuration makes traffic to the internet keep away from VPN.

Re: Preventing programs from routing through the VPN

Posted: Thu Aug 30, 2018 8:58 am
by sammartin8935
thisjun wrote:
> Windows doesn't support application based routing.
> However, please try to increase the metric value of the virtual NIC.
> This configuration makes traffic to the internet keep away from VPN.

Or you can also let your VPN route selective routing. You can turn off taking over your entire connection by going to the properties of the VPN, Networking tab, Internet Protocol (TCP/IP) properties, Advanced, untick Use default gateway on remote network. This may or may not leave a route to 192.168.123.0/24 depending on the VPN server's setup. If it doesn't, you'll have to manually add the route each time, although you could put it in a batch file. In order to manually add the route, run (as administrator)