VPN server PPTPD


4 posts
by adriruiz84 » Fri Oct 12, 2012 9:34 pm
Hi friends

I have installed Raspian OS on my raspberry pi and PPTPD packets.
I have configured this files :
- /etc/pptpd.conf
- /etc/ppp/pptpd-options
- /etc/ppp/chap-secrets

I have changed 0 to 1 in /proc/sys/net/ipv4/ip_forward for forward clients to internet

I have set debug mode in configuration files for view the logs files.
I have opened ports in router to raspbian PPTPD server.

Everything works fine for example :
Inside the network ethernet wifi to local IP raspbian VPN server:
- iPhone, ipad, and MAC OSX clients) works fine.

Outside the network from WAN:
- Mac OSX client works fine.
- Ipad and iphone client not connected

I did not known why iphone and ipad not connected, Can you help me ?

I attached the syslog file:

LOG iPad & iPhone IOS 6 client from Internet ( WAN) , not working :(
Code: Select all
Oct 12 17:33:05 raspberrypi pptpd[3573]: MGR: Launching /usr/sbin/pptpctrl to handle client
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: local address = 192.168.1.200
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: remote address = 192.168.1.201
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: pppd options file = /etc/ppp/pptpd-options
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Client X.X.X.X - (IP client from Internet) control connection started
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Received PPTP Control Message (type: 1)
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Made a START CTRL CONN RPLY packet
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: I wrote 156 bytes to the client.
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Sent packet to client
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Received PPTP Control Message (type: 7)
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Made a OUT CALL RPLY packet
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Starting call (launching pppd, opening GRE)
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: pty_fd = 6
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: tty_fd = 7
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: I wrote 32 bytes to the client.
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Sent packet to client
Oct 12 17:33:05 raspberrypi pptpd[3574]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Oct 12 17:33:05 raspberrypi pptpd[3574]: CTRL (PPPD Launcher): local address = 192.168.1.200
Oct 12 17:33:05 raspberrypi pptpd[3574]: CTRL (PPPD Launcher): remote address = 192.168.1.201
Oct 12 17:33:05 raspberrypi pppd[3574]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Oct 12 17:33:05 raspberrypi pppd[3574]: pptpd-logwtmp: $Version$
Oct 12 17:33:05 raspberrypi pppd[3574]: pppd 2.4.5 started by root, uid 0
Oct 12 17:33:05 raspberrypi pppd[3574]: using channel 20
Oct 12 17:33:05 raspberrypi pppd[3574]: Using interface ppp0
Oct 12 17:33:05 raspberrypi pppd[3574]: Connect: ppp0 <--> /dev/pts/1
Oct 12 17:33:05 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:05 raspberrypi pptpd[3573]: GRE: Bad checksum from pppd.
Oct 12 17:33:05 raspberrypi ifplugd(ppp0)[3588]: ifplugd 0.28 initializing.
Oct 12 17:33:05 raspberrypi ifplugd(ppp0)[3588]: Using interface ppp0/00:00:00:00:00:00
Oct 12 17:33:05 raspberrypi ifplugd(ppp0)[3588]: Using detection mode: IFF_RUNNING
Oct 12 17:33:05 raspberrypi ifplugd(ppp0)[3588]: Initialization complete, link beat detected.
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Received PPTP Control Message (type: 15)
Oct 12 17:33:05 raspberrypi pptpd[3573]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Oct 12 17:33:05 raspberrypi ifplugd(ppp0)[3588]: Executing '/etc/ifplugd/ifplugd.action ppp0 up'.
Oct 12 17:33:05 raspberrypi ifplugd(ppp0)[3588]: client: Ignoring unknown interface ppp0=ppp0.
Oct 12 17:33:05 raspberrypi ifplugd(ppp0)[3588]: Program executed successfully.
Oct 12 17:33:08 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:11 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:14 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:17 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:20 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:23 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:26 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:29 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:32 raspberrypi pppd[3574]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xafea65ec> <pcomp> <accomp>]
Oct 12 17:33:35 raspberrypi pppd[3574]: LCP: timeout sending Config-Requests
Oct 12 17:33:35 raspberrypi pppd[3574]: Connection terminated.
Oct 12 17:33:35 raspberrypi pppd[3574]: Modem hangup
Oct 12 17:33:35 raspberrypi pppd[3574]: Exit.
Oct 12 17:33:35 raspberrypi pptpd[3573]: GRE: read(fd=6,buffer=15b84,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Oct 12 17:33:35 raspberrypi pptpd[3573]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Oct 12 17:33:35 raspberrypi pptpd[3573]: CTRL: Reaping child PPP[3574]
Oct 12 17:33:35 raspberrypi pptpd[3573]: CTRL: Client X.X.X.X - (IP client from Internet) control connection finished
Oct 12 17:33:35 raspberrypi pptpd[3573]: CTRL: Exiting now
Oct 12 17:33:35 raspberrypi pptpd[3148]: MGR: Reaped child 3573
Oct 12 17:33:35 raspberrypi ifplugd(ppp0)[3588]: Link beat lost.
Oct 12 17:33:35 raspberrypi ifplugd(ppp0)[3588]: Exiting.



LOG Mac OSX client from Internet ( WAN) , Works FINE , ALL OK !
Code: Select all
Oct 12 17:30:34 raspberrypi pptpd[3498]: MGR: Launching /usr/sbin/pptpctrl to handle client
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: local address = 192.168.1.200
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: remote address = 192.168.1.201
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: pppd options file = /etc/ppp/pptpd-options
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Client X.X.X.X - (IP client from Internet) control connection started
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Received PPTP Control Message (type: 1)
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Made a START CTRL CONN RPLY packet
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: I wrote 156 bytes to the client.
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Sent packet to client
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Received PPTP Control Message (type: 7)
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Made a OUT CALL RPLY packet
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Starting call (launching pppd, opening GRE)
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: pty_fd = 6
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: tty_fd = 7
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: I wrote 32 bytes to the client.
Oct 12 17:30:34 raspberrypi pptpd[3498]: CTRL: Sent packet to client
Oct 12 17:30:34 raspberrypi pptpd[3499]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Oct 12 17:30:34 raspberrypi pptpd[3499]: CTRL (PPPD Launcher): local address = 192.168.1.200
Oct 12 17:30:34 raspberrypi pptpd[3499]: CTRL (PPPD Launcher): remote address = 192.168.1.201
Oct 12 17:30:35 raspberrypi pppd[3499]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Oct 12 17:30:35 raspberrypi pppd[3499]: pptpd-logwtmp: $Version$
Oct 12 17:30:35 raspberrypi pppd[3499]: pppd 2.4.5 started by root, uid 0
Oct 12 17:30:35 raspberrypi pppd[3499]: using channel 19
Oct 12 17:30:35 raspberrypi pppd[3499]: Using interface ppp0
Oct 12 17:30:35 raspberrypi pppd[3499]: Connect: ppp0 <--> /dev/pts/1
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x7841f61> <pcomp> <accomp>]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: Bad checksum from pppd.
Oct 12 17:30:35 raspberrypi pptpd[3498]: CTRL: Received PPTP Control Message (type: 15)
Oct 12 17:30:35 raspberrypi pptpd[3498]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #1
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6bce4bf0> <pcomp> <accomp>]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6bce4bf0> <pcomp> <accomp>]
Oct 12 17:30:35 raspberrypi ifplugd(ppp0)[3513]: ifplugd 0.28 initializing.
Oct 12 17:30:35 raspberrypi ifplugd(ppp0)[3513]: Using interface ppp0/00:00:00:00:00:00
Oct 12 17:30:35 raspberrypi ifplugd(ppp0)[3513]: Using detection mode: IFF_RUNNING
Oct 12 17:30:35 raspberrypi ifplugd(ppp0)[3513]: Initialization complete, link beat detected.
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #2
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x7841f61> <pcomp> <accomp>]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [LCP EchoReq id=0x0 magic=0x7841f61]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [CHAP Challenge id=0x3b <94121d3258315ba5584d1e3b745c3438>, name = "pptpd"]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #3
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [LCP EchoReq id=0x0 magic=0x6bce4bf0]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [LCP EchoRep id=0x0 magic=0x7841f61]
Oct 12 17:30:35 raspberrypi ifplugd(ppp0)[3513]: Executing '/etc/ifplugd/ifplugd.action ppp0 up'.
Oct 12 17:30:35 raspberrypi ifplugd(ppp0)[3513]: client: Ignoring unknown interface ppp0=ppp0.
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #4
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [LCP EchoRep id=0x0 magic=0x6bce4bf0]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #5
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [CHAP Response id=0x3b <739860c8afd160d4b104372549cb1a380000000000000000910b132ffc8f7ff9bd76a4f1cd2e26a3a82de6086bcf1d9c00>, name = "adri"]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [CHAP Success id=0x3b "S=D8480C7D77A5B0E649400520426826979E4D8E0A M=Access granted"]
Oct 12 17:30:35 raspberrypi pppd[3499]: peer from calling number X.X.X.X - (IP client from Internet) authorized
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #6
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [CCP ConfReq id=0x1 <mppe +H -M +S +L -D -C>]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #7
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
Oct 12 17:30:35 raspberrypi ifplugd(ppp0)[3513]: Program executed successfully.
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #8
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>]
Oct 12 17:30:35 raspberrypi pppd[3499]: MPPE 128-bit stateless compression enabled
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.1.200>]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #9
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #10
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #11
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [IPCP ConfNak id=0x1 <addr 192.168.1.201> <ms-dns1 8.8.8.8> <ms-dns2 8.8.8.8>]
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [IPV6CP ConfReq id=0x1 <addr fe80::ca2a:14ff:fe09:fbe5>]
Oct 12 17:30:35 raspberrypi pppd[3499]: Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [LCP ProtRej id=0x2 80 57 01 01 00 0e 01 0a ca 2a 14 ff fe 09 fb e5]
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [IPCP ConfReq id=0x2 <addr 192.168.1.200>]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #12
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [IPCP ConfReq id=0x2 <addr 192.168.1.201> <ms-dns1 8.8.8.8> <ms-dns2 8.8.8.8>]
Oct 12 17:30:35 raspberrypi pppd[3499]: sent [IPCP ConfAck id=0x2 <addr 192.168.1.201> <ms-dns1 8.8.8.8> <ms-dns2 8.8.8.8>]
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #13
Oct 12 17:30:35 raspberrypi pppd[3499]: rcvd [IPCP ConfAck id=0x2 <addr 192.168.1.200>]
Oct 12 17:30:35 raspberrypi pppd[3499]: found interface eth0 for proxy arp
Oct 12 17:30:35 raspberrypi pppd[3499]: local  IP address 192.168.1.200
Oct 12 17:30:35 raspberrypi pppd[3499]: remote IP address 192.168.1.201
Oct 12 17:30:35 raspberrypi pppd[3499]: pptpd-logwtmp.so ip-up ppp0 adri X.X.X.X - (IP client from Internet)
Oct 12 17:30:35 raspberrypi pppd[3499]: Script /etc/ppp/ip-up started (pid 3519)
Oct 12 17:30:35 raspberrypi pppd[3499]: Script /etc/ppp/ip-up finished (pid 3519), status = 0x0
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #14
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #15
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #16
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #17
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #18
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #19
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #20
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #21
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #22
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #23
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #24
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #25
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #26
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #27
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #28
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #29
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #30
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #31
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #32
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #33
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #34
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #35
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #36
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #37
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #38
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #39
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #40
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #41
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #42
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #43
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #44
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #45
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #46
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #47
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #48
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #49
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #50
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #51
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #52
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #53
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #54
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #55
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #56
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #57
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #58
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #59
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #60
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #61
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #62
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #63
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #64
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #65
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #66
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #67
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #68
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #69
Oct 12 17:30:35 raspberrypi pptpd[3498]: GRE: accepting packet #70
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #71
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #72
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #73
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #74
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #75
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #76
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #77
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #78
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #79
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #80
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #81
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #82
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #83
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #84
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #85
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #86
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #87
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #88
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #89
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #90
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #91
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #92
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #93
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #94
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #95
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #96
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #97
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #98
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #99
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #100
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #101
Oct 12 17:30:36 raspberrypi pptpd[3498]: GRE: accepting packet #102
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #103
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #104
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #105
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #106
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #107
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #108
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #109
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #110
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #111
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #112
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #113
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #114
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #115
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #116
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #117
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #118
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #119
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #120
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #122 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #123 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #124 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #125 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #126 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #127 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #128 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #129 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #130 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #131 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #132 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #133 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #134 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #135 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #136 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #137 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #138 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #139 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #140 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #141 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: buffering packet #142 (expecting #121, lost or reordered)
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: timeout waiting for 1 packets
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #122 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #123 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #124 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #125 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #126 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #127 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #128 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #129 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #130 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #131 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #132 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #133 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #134 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #135 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #136 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #137 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #138 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #139 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #140 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #141 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting #142 from queue
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #143
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #144
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #145
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #146
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #147
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #148
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #149
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #150
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #151
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #152
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #153
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #154
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #155
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #156
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #157
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #158
Oct 12 17:30:37 raspberrypi pptpd[3498]: GRE: accepting packet #159
Oct 12 17:30:37 raspberrypi rsyslogd-2177: imuxsock begins to drop messages from pid 3498 due to rate-limiting
Oct 12 17:30:40 raspberrypi rsyslogd-2177: imuxsock lost 97 messages from pid 3498 due to rate-limiting
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #257
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #258
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #259
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #260
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #261
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #262
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #263
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #264
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #265
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #266
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #267
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #268
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #269
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #270
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #271
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #272
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #273
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #274
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #275
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #276
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #277
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #278
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #279
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #280
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #281
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #282
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #283
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #284
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #285
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #286
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #287
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #288
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #289
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #290
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #291
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #292
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #293
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #294
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #295
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #296
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #297
Oct 12 17:30:40 raspberrypi pptpd[3498]: GRE: accepting packet #298
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #299
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #300
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #301
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #302
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #303
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #304
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #305
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #306
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #307
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #308
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #309
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #310
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #311
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #312
Oct 12 17:30:41 raspberrypi pppd[3499]: rcvd [LCP TermReq id=0x2 "MPPE disabled"]
Oct 12 17:30:41 raspberrypi pppd[3499]: LCP terminated by peer (MPPE disabled)
Oct 12 17:30:41 raspberrypi pppd[3499]: pptpd-logwtmp.so ip-down ppp0
Oct 12 17:30:41 raspberrypi pppd[3499]: Connect time 0.1 minutes.
Oct 12 17:30:41 raspberrypi pppd[3499]: Sent 77328 bytes, received 37343 bytes.
Oct 12 17:30:41 raspberrypi pptpd[3498]: GRE: accepting packet #313
Oct 12 17:30:41 raspberrypi pppd[3499]: Script /etc/ppp/ip-down started (pid 3523)
Oct 12 17:30:41 raspberrypi pppd[3499]: sent [LCP TermAck id=0x2]
Oct 12 17:30:41 raspberrypi pppd[3499]: rcvd [LCP TermReq id=0x3 "MPPE disabled"]
Oct 12 17:30:41 raspberrypi pppd[3499]: sent [LCP TermAck id=0x3]
Oct 12 17:30:41 raspberrypi pptpd[3498]: CTRL: EOF or bad error reading ctrl packet length.
Oct 12 17:30:41 raspberrypi pptpd[3498]: CTRL: couldn't read packet header (exit)
Oct 12 17:30:41 raspberrypi pptpd[3498]: CTRL: CTRL read failed
Oct 12 17:30:41 raspberrypi pptpd[3498]: CTRL: Reaping child PPP[3499]
Oct 12 17:30:41 raspberrypi pppd[3499]: Hangup (SIGHUP)
Oct 12 17:30:41 raspberrypi pppd[3499]: Modem hangup
Oct 12 17:30:41 raspberrypi pppd[3499]: Connection terminated.
Oct 12 17:30:41 raspberrypi pppd[3499]: Waiting for 1 child processes...
Oct 12 17:30:41 raspberrypi pppd[3499]:   script /etc/ppp/ip-down, pid 3523
Oct 12 17:30:41 raspberrypi pppd[3499]: Script /etc/ppp/ip-down finished (pid 3523), status = 0x0
Oct 12 17:30:41 raspberrypi pppd[3499]: Exit.
Oct 12 17:30:41 raspberrypi pptpd[3498]: CTRL: Client X.X.X.X - (IP client from Internet) control connection finished
Oct 12 17:30:41 raspberrypi pptpd[3498]: CTRL: Exiting now
Oct 12 17:30:41 raspberrypi pptpd[3148]: MGR: Reaped child 3498
Oct 12 17:30:41 raspberrypi ifplugd(ppp0)[3513]: Link beat lost.
Oct 12 17:30:41 raspberrypi ifplugd(ppp0)[3513]: Exiting.
Posts: 2
Joined: Fri Oct 12, 2012 4:22 pm
Location: Madrid - Spain
by ElectroPulse » Sat Oct 13, 2012 5:17 am
Yes, I am having trouble with this as well... I am trying to connect to it with my iPod touch, but for some reason it just doesn't want to connect.

I can connect to the VPN server on my RPi with my computer (running Windows 7), so I know the RPi VPN server is working correctly.
I can connect to the VPN server on my desktop with my iPod Touch, so I know I have the settings for connecting to a VPN setup correctly on my iPod Touch.

Could anyone provide help?

EDIT: Here's the debug log for mine:

Code: Select all
Oct 13 01:23:41 raspberrypi pppd[2547]: using channel 5
Oct 13 01:23:41 raspberrypi pppd[2547]: sent [LCP ConfReq id=0x1 <mru 1490> <asyncmap 0x0> <auth chap MS-v2> <magi$
Oct 13 01:23:41 raspberrypi pppd[2547]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6809acc4> <pcomp> <accomp$
Oct 13 01:23:41 raspberrypi pppd[2547]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6809acc4> <pcomp> <accomp$
Oct 13 01:23:41 raspberrypi pppd[2547]: rcvd [LCP ConfRej id=0x1 <auth chap MS-v2>]
Oct 13 01:23:41 raspberrypi pppd[2547]: sent [LCP ConfReq id=0x2 <mru 1490> <asyncmap 0x0> <magic 0x84582864> <pco$
Oct 13 01:23:41 raspberrypi pppd[2547]: rcvd [LCP ConfAck id=0x2 <mru 1490> <asyncmap 0x0> <magic 0x84582864> <pco$
Oct 13 01:23:41 raspberrypi pppd[2547]: sent [LCP EchoReq id=0x0 magic=0x84582864]
Oct 13 01:23:41 raspberrypi pppd[2547]: sent [LCP TermReq id=0x3 "peer refused to authenticate"]
Oct 13 01:23:42 raspberrypi pppd[2547]: rcvd [LCP EchoReq id=0x0 magic=0x6809acc4]
Oct 13 01:23:42 raspberrypi pppd[2547]: rcvd [LCP TermReq id=0x2 "MPPE required but not available"]
Oct 13 01:23:42 raspberrypi pppd[2547]: sent [LCP TermAck id=0x2]
Oct 13 01:23:42 raspberrypi pptpd[2546]: CTRL: Reaping child PPP[2547]



EDIT2: Hmm... I was just looking down through the log and noticed it said "MPPE required but not available." Perhaps this is it? I just did a quick Google search of it, and it stands for "Microsoft Point-to-Point Encryption."
Posts: 52
Joined: Fri Jan 27, 2012 3:54 am
by adriruiz84 » Sun Oct 14, 2012 10:31 am
I`ve tested , and the problem is only when the connection is 3G.

If i try to connect over external ADSL or a tethered connection my iPhone and iPad works fine :S

I don't understand the reason.
Posts: 2
Joined: Fri Oct 12, 2012 4:22 pm
Location: Madrid - Spain
by jeromez » Sat Nov 03, 2012 4:10 pm
check if your ISP allows VPN connection over 3G. If you are getting a 10.x.x.x IP address over your 3G, it's quite likely that VPN will not work. If so, you may want to try using another Access Point Name (APN), if your ISP has an alternate one.
Posts: 1
Joined: Sat Nov 03, 2012 4:08 pm