No Internet traffic through the PPTP VPN connection
I went through this guide and did everything step by step. everything works fine, clients can connect to the vpn server with no problems and they can ping local machines! but no internet access through the vpn connection unless i uncheck the default gateway option on my client machine which is not what i want. I want my clients to get my server’s ip address. my server is behind a router (router’s ip : 192.168.0.1 | server’s local ip: 192.168.0.100) so i used localip 192.168.0.100 & remoteip 192.168.0.234-238 in pptpd.conf. it think there is something wrong with routing or firewall rules, because it seems that the DNS resolution works .. when i try to browse a website my browser says “Waiting for xxxxx.com…” and it stays on that stage forever ! the funny part is that google.com works fine (don’t know how). does anybody has any idea about the issue ?
* I have already opened the port in on my router. I even tried it locally to make sure that the router is not the problem here.
* already added ms-dns 220.127.116.11 / ms-dns 18.104.22.168 to pptpd-options. (found another guide that suggested to do this, before adding these two lines even dns resolution was not working.)
added the following line into etc/ppp/ip-up
/sbin/ifconfig $1 mtu 1400
and that fixed the issue :)
This fixed it for me as well.
In addition to google.com mysteriously working while the rest of the internet was unavailable, using telnet to make an HTTP 1.0 request works fine as well. yahoo.com would be stuck in the browser waiting for a response, but telnet would get the entire front page contents. A subsequent request to yahoo.com using the browser would retrieve partial content. Huh?
DNS worked fine.
TCP connectivity appeared fine.
Thank you, thank you, thank you.
|All times are GMT -5. The time now is 03:28 PM.|