Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've followed the tutorial on this site:

I have a DD-WRT router with Micro-FW that does not have a built-in VPN server. I have port forwarded the port 1723 TCP to my Ubuntu box. My DD-WRT router's DHCP ranges from - 199.

The problem is that I can connect to my VPN server and access all the network shares and computers but I cannot access the internet. I am not too sure why this is happening. Please let me know if you want to see any of the files.

I have set the /etc/pptpd.conf:


Do I need to manage my DHCP on my Ubuntu box as well or is that okay? I am a beginner, any help is appreciated!

share|improve this question
I have the exact same problem, please let me know if you've found a solution! :) Though, Ive allready added netmask "" via "/etc/ppp/options"... But I can't seem to find a way to pass the gateway to the client. – user22280 Jul 26 '11 at 23:11
Which Ubuntu version? What router hardware (brand, model), and release of DD-WRT ? – david6 Dec 12 '11 at 5:41

Edit the options file with sudo nano /etc/ppp/pptpd-options

uncomment the line that reads #ms-dns by removing the #

Replace the address with whatever DNS server you wish to use Save and exit

Restart the pptp service with sudo /etc/init.d/pptpd restart

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.