Page 1 of 1
When SoftEther drops connection, how to prevent Win10 from..
Posted: Mon Aug 15, 2016 12:00 am
by DaveJones
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
Re: When SoftEther drops connection, how to prevent Win10 fr
Posted: Mon Aug 15, 2016 6:36 pm
by qupfer
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.
Re: When SoftEther drops connection, how to prevent Win10 fr
Posted: Mon Aug 15, 2016 8:31 pm
by DaveJones
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!
Re: When SoftEther drops connection, how to prevent Win10 fr
Posted: Mon Aug 29, 2016 7:43 am
by thisjun
Please delete default gateway setting of NIC after connecting VPN.