Preventing programs from routing through the VPN

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
zaf
Posts: 4
Joined: Tue Jul 10, 2018 5:59 pm

Preventing programs from routing through the VPN

Post by zaf » Tue Jul 10, 2018 6:07 pm

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.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Preventing programs from routing through the VPN

Post by thisjun » Wed Jul 18, 2018 7:01 am

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.

sammartin8935
Posts: 6
Joined: Thu Aug 30, 2018 7:15 am

Re: Preventing programs from routing through the VPN

Post by sammartin8935 » Thu Aug 30, 2018 8:58 am

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)

Post Reply