Hi guys, my question is just as subject says. I've been using SoftEther +VPN Gate for some time, but never really dived into the technical side of this.
Usually I'd just use it to let my entire PC bypass regional firewalls, but now instead of doing that, I'd like to just let this one game go through the VPN, so that my other internet activities don't get affected by the low bandwidth and speed. I tried to have a look to see how to set it up but only found bits of info that I don't understand as a complete newbie. Split tunneling? I don't really know how to set it up, nor am i sure if it's even the right thing to do for my needs.
Any help would be appreciated!
How to make only a single program(game) go through VPN, but the rest ignore VPN and connect normally?
-
- Posts: 2
- Joined: Thu Aug 17, 2023 2:16 pm
-
- Posts: 1614
- Joined: Sun Feb 14, 2021 10:31 am
Re: How to make only a single program(game) go through VPN, but the rest ignore VPN and connect normally?
1. don't make the VPN a default gateway
2. add a persistent static route to the game server's IP
2. add a persistent static route to the game server's IP
-
- Posts: 2
- Joined: Thu Aug 17, 2023 2:16 pm
Re: How to make only a single program(game) go through VPN, but the rest ignore VPN and connect normally?
hello, thank you for your reply. unfortunately i'm so new to this that i don't know how to execute your advice. To start off, is it enough to set this up with just the VPN client, or do i need to use the Softether VPN server thing? I usually just use the client, but yesterday downloaded the server thing too, and have no idea how to use it yet.
1. where do i do this? in the client? server? or in windows Network Connections? (i'm using windows10) I saw some vids that talk about disabling the default gateway option, but i cant find that option in my VPN network adaptor, as the attached image shows. in the vids it was at the top of the most right window.
2. no idea how to add a persistent static route either. By game's server IP, does that mean if i can't find out the game server's IP, this wouldn't work? I had a look and unfortunately didn't find it.
Sorry that i'm lacking the very fundamental knowledge x_x
1. where do i do this? in the client? server? or in windows Network Connections? (i'm using windows10) I saw some vids that talk about disabling the default gateway option, but i cant find that option in my VPN network adaptor, as the attached image shows. in the vids it was at the top of the most right window.
2. no idea how to add a persistent static route either. By game's server IP, does that mean if i can't find out the game server's IP, this wouldn't work? I had a look and unfortunately didn't find it.
Sorry that i'm lacking the very fundamental knowledge x_x
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1614
- Joined: Sun Feb 14, 2021 10:31 am
Re: How to make only a single program(game) go through VPN, but the rest ignore VPN and connect normally?
Code: Select all
- modify VPN Gate settings
GUI: public-vpn-185 > Properties > Advanced Settings > No Adjustments of Routing Table: CHECK
- connect to VPN Gate via GUI or...
"C:\Program Files\SoftEther VPN Client\vpncmd.exe" localhost /client /cmd AccountConnect public-vpn-185
netstat -r
Interface List
18...5e 2e bb 6f f0 91 ......VPN Client Adapter - VPN <--- note the interface number
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.101.1 192.168.101.213 20
0.0.0.0 0.0.0.0 10.245.254.254 10.245.134.2 2 <--- note the gateway
10.245.0.0 255.255.0.0 On-link 10.245.134.2 257
...
route delete 0.0.0.0 10.245.254.254
nslookup abc.net
...
Address: 162.243.117.188
route add 162.243.117.188 mask 255.255.255.255 10.245.254.254 IF 18
tracert -h 3 abc.net
Tracing route to abc.net [162.243.117.188] over a maximum of 3 hops:
1 471 ms 500 ms 451 ms 10.245.254.254
2 376 ms 311 ms 319 ms gw2.vpngate.v4.open.ad.jp [219.100.37.253]
3 592 ms 416 ms 504 ms igp1.green.v4.open.ad.jp [202.222.12.190]