Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have setup the pptp vpn connection manually in

/etc/ppp/peers/myvpn

and its contents are

pty "pptp <host> --nolaunchpppd"
name myusername
remotename myvpn
linkname myvpn 
ipparam myvpn
usepeerdns
require-mppe
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

1 Answer 1

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

 
discard

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.