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 126.96.36.199 / ms-dns 188.8.131.52 to pptpd-options. (found another guide
that suggested to do this, before adding these two lines even dns resolution was not working.)