Hello
I've installed SoftEther VPN client and everything works great, however I need to use VPN only for a specific app.
Can you please tell me, what should I do to make that possible?
I've read that split tunneling can be configured by disabling (no idea how it would help though) the "Use default gateway on remote network” option in adapter settings, however on Windows 10 none of the adapters have this setting. They have the "Interface metric" setting, however all my attempts to use it were futile. Please help!
Also calling Get-VPNConnection -AllUserConnection in powershell doesn't show any VPN connections
How to configure split tunneling on Windows 10?
-
- Posts: 5
- Joined: Mon Jun 14, 2021 2:28 pm
-
- Posts: 5
- Joined: Mon Jun 14, 2021 2:28 pm
Re: How to configure split tunneling on Windows 10?
I tried setting VPN adapter interface metric to 200 and launching an app with ForceBindIp, even tried to add route for the used ips range, however nothing works - it's either VPN only, or VPN is not being used, no matter what routes exist
-
- Posts: 286
- Joined: Wed Nov 25, 2020 9:10 am
Re: How to configure split tunneling on Windows 10?
Double check your routes. They should cover every destination the app connects to.
-
- Posts: 5
- Joined: Mon Jun 14, 2021 2:28 pm
Re: How to configure split tunneling on Windows 10?
I've added routes for whole subnets:
route add 15.165.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
route add 16.165.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
route add 202.234.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
route add 74.201.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
but it just won't wok :( Some connections to theses hosts use VPN local address, some don't
route add 15.165.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
route add 16.165.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
route add 202.234.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
route add 74.201.0.0 MASK 255.255.0.0 10.241.79.112 metric 1
but it just won't wok :( Some connections to theses hosts use VPN local address, some don't
-
- Posts: 286
- Joined: Wed Nov 25, 2020 9:10 am
Re: How to configure split tunneling on Windows 10?
I haven’t used ForceBindIp. But I think it might conflict with static routes. Did you use them at same time? If so please try only using routes.
And what is the IP 10.241.79.112? You need to put vpn gateway here. This doesn’t look like a gateway address.
And what is the IP 10.241.79.112? You need to put vpn gateway here. This doesn’t look like a gateway address.
-
- Posts: 5
- Joined: Mon Jun 14, 2021 2:28 pm
Re: How to configure split tunneling on Windows 10?
Eddie, thank you so much! You're absolutely right - there's no need to use ForceBindIp and the problem was indeed related to gateway address - I used local ip address instead (because I'm stupid)