Hello all!
After SoftEther connection gets cut off and it starts reconnecting, how do I prevent Windows 10 from using my regular connection?
I ask because I've noticed that my IP "leaks" when SoftEther connection is gone.
Thank you!
Dave
When SoftEther drops connection, how to prevent Win10 from..
-
- Posts: 3
- Joined: Sun Aug 14, 2016 11:56 pm
-
- Posts: 202
- Joined: Wed Jul 10, 2013 2:07 pm
Re: When SoftEther drops connection, how to prevent Win10 fr
Just a few thoughts...not tested!
I think the easiest way would be to make your "real" network unusable.
You may use the windows firewall and block the nework 0.0.0.0/0 for your physical interface and create a second rule (with higher priority) that allow only the connection to your vpn server.
You may could reach the same behavior with routing entries. Create a static route with high priority (metric) that will route 0.0.0.0/0 via VPN and one route (with higher metric) that will route the traffic to your vpn server through your real device. REMOVE all other routes
A variant of the second idea (with less configuration) could be to configure a wrong default gateway for your normal device and create again a static route that will redirect the traffic to the vpn server through the correct gateway.
I think the easiest way would be to make your "real" network unusable.
You may use the windows firewall and block the nework 0.0.0.0/0 for your physical interface and create a second rule (with higher priority) that allow only the connection to your vpn server.
You may could reach the same behavior with routing entries. Create a static route with high priority (metric) that will route 0.0.0.0/0 via VPN and one route (with higher metric) that will route the traffic to your vpn server through your real device. REMOVE all other routes
A variant of the second idea (with less configuration) could be to configure a wrong default gateway for your normal device and create again a static route that will redirect the traffic to the vpn server through the correct gateway.
-
- Posts: 3
- Joined: Sun Aug 14, 2016 11:56 pm
Re: When SoftEther drops connection, how to prevent Win10 fr
Interesting ideas, thank you guys. I'll play some more with settings and see what works the best.
If anyone has some other ideas, please do share!
If anyone has some other ideas, please do share!
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: When SoftEther drops connection, how to prevent Win10 fr
Please delete default gateway setting of NIC after connecting VPN.