I VPN to my work, and then I terminal server into my computer.
Everything works fine in relation to the VPN access, but locally I can't access the internet.
How can I fix this?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
What you are looking to do is called split tunneling. If you are using a Microsoft PPTP VPN, you need to uncheck "Use default gateway on remote network" in the TCP/IPv4 advanced settings for the VPN connection.
If you are using another VPN client, you need to look for something related to split tunneling in the VPN client's documentations. Please note that some VPN's allow the administrator to disable split tunneling.
I've been dealing with this for a whole day and finally found the resolution. Here is how:
b: after that you have all needed information to set up route manually (as described here http://support.microsoft.com/kb/317025). Mine manual route was (just enter it in command prompt):
route -p add 172.18.0.19 mask 255.255.255.255 10.30.0.1
and that's it. Hope it helps!
If the computer has connectivity to both the internet and the corporate VPN at the same time, and the computer is compromised in some way, or deliberately configured to bypass security, the computer can act as an unauthorized bridge between the public internet and corporate LAN.
The default behavior of almost all VPN software is therefore to isolate you from the public internet through routing, firewalling, layered service providers (windows only), and other technologies. Whether this can be changed or not depends on the product in question - some of them go to great lengths to make sure that someone doesn't find a creative solution to reenable internet access while the VPN is running.
The best workaround I've found if you have to connect to a VPN frequently is to have a virtual machine dedicated to VPN access - this method won't be blocked by VPN software, and it still keeps reasonably good separation between the internet and the corporate network.