Source: superuser.com --- Sunday, April 30, 2017
I have a VPN that I want to route all of my traffic through in order to prevent my school from invading my privacy, and restricting the websites that I can access. The VPN works great once it's connected, but applications can still access the Internet before my computer connects to the VPN and before my VPN client routes all traffic through the VPN by modifying the routing table. I can temporarily solve my problem by deleting all of the routes in the routing table (including the default gateway), and then adding a single route to my VPN's IP through the school gateway and then by creating a default route through my virtual NIC. The problem with this is, any time I reconnect to the network or restart my computer, all of the routes that I had previously deleted are recreated, and applications are able to access the Internet before the VPN connects, just as before. I have tried modifying the firewall and just blocking all outbound traffic by default, but this is NOT what I want, and it did not solve my problem. Since I need to create and manage the required routes manually, how can I prevent Windows from modifying the routing table AT ALL, especially when connecting/disconnecting to/from a wireless network? ...
from Windows http://ift.tt/2pNk4v4
No comments:
Post a Comment