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 have setup the pptp vpn connection manually in


and its contents are

pty "pptp <host> --nolaunchpppd"
name myusername
remotename myvpn
linkname myvpn 
ipparam myvpn
file /etc/ppp/options.pptp

i have also set the /etc/ppp/chap-secrets file

Problem is i can connect to this vpn connection using

pon myvpn nodetach

But cannot access to any machines in that network.

I even get the IP for ppp0 when viewed using ifconfig command

But when I make the VPN connection using NetworkManager applet it works without any problem. I really need this VPN to work from manual settings.

share|improve this question
up vote 0 down vote accepted

I got the solution for this problem , many many thanks to @etagenklo

I just need to route the ip traffic to go through the vpn and that was really easy,

If you are stuck at this you can use this link. here is the a link

And Thanks again for the help "etagenklo"

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.