Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


help please with pptp
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

help please with pptp

proximaproxima Member
edited April 2012 in Help

hello guys.

Please could someone help me. I am trying to connect to pptp vpn.
I have got so far.

root@saturnop:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
46.29.255.186 * 255.255.255.255 UH 0 0 0 venet0
default * 0.0.0.0 U 0 0 0 venet0
root@saturnop:~# pppd call MYVPN updetach
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
local IP address 172.16.36.13
remote IP address 172.16.36.1
root@saturnop:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
46.29.255.186 * 255.255.255.255 UH 0 0 0 venet0
172.16.36.1 * 255.255.255.255 UH 0 0 0 ppp0
172.16.36.0 * 255.255.255.0 U 0 0 0 ppp0
default * 0.0.0.0 U 0 0 0 venet0
root@saturnop:~# traceroute google.com
traceroute to google.com (173.194.74.139), 30 hops max, 60 byte packets
1 199.19.106.130 (199.19.106.130) 0.040 ms 0.016 ms 0.019 ms
2 * * *
3 * * *
4 * * *
5 * 209.85.254.226 (209.85.254.226) 31.477 ms 51.188 ms
6 209.85.251.210 (209.85.251.210) 22.181 ms * *
7 72.14.234.67 (72.14.234.67) 23.075 ms 72.14.234.55 (72.14.234.55) 109.017 ms 72.14.234.65 (72.14.234.65) 23.002 ms
8 * * *
9 qe-in-f139.1e100.net (173.194.74.139) 22.905 ms 21.476 ms 22.229 ms

As you can see I am not able to ppp0

What do I need to do to use ppp0

Thanks in advance.

Comments

  • You are trying to connect to PPTPD via a VPS?

  • @joodle

    Yes I have openvz vps and i am trying to connect to pptpd.

    root@saturnop:~# pppd call MYVPN updetach
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/1
    CHAP authentication succeeded
    MPPE 128-bit stateless compression enabled
    local IP address 172.16.36.13
    remote IP address 172.16.36.1

    I can connect to the pptpd. This gives me a local ip and a remote ip on ppp0.

    Just not able to route traffic through it.

  • But why do you want to connect your VPS to your VPN?

  • KuJoeKuJoe Member, Host Rep

    Did you set "net.ipv4.ip_forward=1" in "/etc/sysctl.conf" (then reboot)?

  • @KuJoe

    yes

    root@saturnop:~# sysctl net.ipv4.ip_forward
    net.ipv4.ip_forward = 1

Sign In or Register to comment.