Connecting to VPN via pptp blocks my internet
When I connect to VPN via pptp (haven't tried anything else) I can no longer open any site or SSH to anything.
Pinging google reveals that I do, in fact, have connection. I can even telnet to google. A similar post found here gave me some idea but I still can not solve it. Here are my routing tables before and after connecting to VPN: --before-- Code:
Kernel IP routing table Code:
Kernel IP routing table nameserver 10.48.20.107 nameserver 10.33.20.250 It's the same before and after VPN. I also tried commenting out usepeerdns from /etc/ppp/peers/dsl-provider (god knows if that made any sense). It should be noted that once, the second time I tried (no options changed or anything), the internet worked normally while on VPN, but that was the only time. I've also tried restarting networking (sudo /etc/init.d/networking restart) a couple of times. I'm on Mint 12, but the same happened on Ubuntu 11.04. Does anyone have any clue what might be wrong? I'd very much appreciate any help... |
Your default gateway is redirected through the VPN adapter (ppp0). It is a setting that the VPN provider made, probably for security reasons.
You can try to talk to them and ask them to change this setting. |
Hey, thanks for replying... but your explanation doesn't really fit the bill. I'm saying that because I can boot into Windows, on the same machine, connect to the very same VPN, and not have this problem (posting this very message while connected).
I tried applying "Use this network only for connections on its network" and "Ignore automatically obtained routes" (I guess this is the usepeerdns thing the other thread mentioned), and now I can open regular sites (like google), albeit incredibly slow (much slower than on Windows), I can ping the servers I needed the VPN for, but still can not SSH to them or open the app hosted there from the browser (times out). Routs after these changes: Code:
route Code:
May 24 19:40:47 tetris NetworkManager[834]: <info> Starting VPN service 'pptp'... |
I've just tried the same from my netbook running Bodhi Linux (also Ubuntu based, like Mint that I'm running on desktop), and with all configs the same, it worked without a hitch. Fast too.
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface |
All times are GMT -5. The time now is 09:48 PM. |