You are not logged in.

#1 2008-03-30 11:52:59

Laban
Member
From: Sweden
Registered: 2008-02-15
Posts: 12

VPN PPTP, connects but then dies

I'm connecting with PPTP to work to access the servers, but after the connection is made, I can't access the gateway server (won't respond to ping). How do I solve this? No firewall on the client, connected directly to the net (no fw, no nat).

BEFORE

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
85.226.172.0    0.0.0.0         255.255.254.0   U     0      0        0 eth1
0.0.0.0         85.226.172.1    0.0.0.0         UG    0      0        0 eth1

AFTER

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
195.67.xx.xxx   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
85.226.172.0    0.0.0.0         255.255.254.0   U     0      0        0 eth1
0.0.0.0         85.226.172.1    0.0.0.0         UG    0      0        0 eth1
$ ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.133.196.180  P-t-P:195.67.xx.xxx  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6622105 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:211 (211.0 b)  TX bytes:2548615333 (2430.5 Mb)
$ sudo pon myCon
$ tail -f /var/log/daemon
Mar 30 13:49:31 SEVAS-64212CF pppd[5550]: pppd 2.4.4 started by root, uid 0
Mar 30 13:49:31 SEVAS-64212CF pppd[5550]: Using interface ppp1
Mar 30 13:49:31 SEVAS-64212CF pppd[5550]: Connect: ppp1 <--> /dev/pts/6
Mar 30 13:49:31 SEVAS-64212CF pptp[5551]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated
Mar 30 13:49:31 SEVAS-64212CF pptp[5546]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar 30 13:49:41 SEVAS-64212CF pptp[5546]: anon log[logecho:pptp_ctrl.c:676]: Echo Request received.
Mar 30 13:49:41 SEVAS-64212CF pptp[5546]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 6 'Echo-Reply'
Mar 30 13:50:02 SEVAS-64212CF pppd[5550]: LCP: timeout sending Config-Requests
Mar 30 13:50:02 SEVAS-64212CF pppd[5550]: Connection terminated.
Mar 30 13:50:02 SEVAS-64212CF pppd[5550]: Modem hangup
Mar 30 13:50:07 SEVAS-64212CF pppd[5550]: Exit.
Mar 30 13:50:07 SEVAS-64212CF pptp[5546]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Mar 30 13:50:07 SEVAS-64212CF pptp[5546]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar 30 13:50:44 SEVAS-64212CF pppd[5541]: No response to 4 echo-requests
Mar 30 13:50:44 SEVAS-64212CF pppd[5541]: Serial link appears to be disconnected.
Mar 30 13:50:44 SEVAS-64212CF pppd[5541]: Connect time 2.5 minutes.
Mar 30 13:50:44 SEVAS-64212CF pppd[5541]: Sent 4262868269 bytes, received 90 bytes.
Mar 30 13:50:44 SEVAS-64212CF pptp[5546]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Mar 30 13:50:44 SEVAS-64212CF pptp[5546]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Mar 30 13:50:44 SEVAS-64212CF pptp[5546]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar 30 13:50:44 SEVAS-64212CF pptp[5546]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Mar 30 13:50:44 SEVAS-64212CF pptp[5546]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Mar 30 13:50:44 SEVAS-64212CF pppd[5541]: Modem hangup
Mar 30 13:50:44 SEVAS-64212CF pppd[5541]: Connection terminated.
Mar 30 13:50:44 SEVAS-64212CF pppd[5541]: Exit.

!erau qssi dlro weht

Offline

#2 2008-05-01 21:11:56

Corneliax
Member
From: Indianapolis, IN
Registered: 2004-04-27
Posts: 43
Website

Re: VPN PPTP, connects but then dies

I'm having the same exact problem. I've set up pptp connections in the past, but haven't used one for a year or so. I'll let you know if I have any success.

Offline

#3 2008-05-02 06:01:44

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: VPN PPTP, connects but then dies

Hi Laban,
I use PPTP connection at work without any problems. This is my options.pptp file:

lock
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
require-mppe-128

Prior to connect I modprobed ppp_mppe module

Offline

Board footer

Powered by FluxBB