I am trying to set up a VPN server, and I had it working, but needed to reinstall the system for other reasons. Now, with the same setup, it is no longer working. When I attempt to connect to it from my Mac, it tells me that a connection could not be established, and the connection drops. When I connect to it from my iPhone, it works, but I can't access the internet. I have included the 2 parts of the log file for the iPhone and laptop connection and both config files.
iPhone connection log:
Quote:
ul 22 12:40:52 a-big-pump pptpd[2037]: MGR: Launching /usr/sbin/pptpctrl to handle client
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: local address = 192.168.100.7
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: remote address = 192.168.102.1
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: pppd options file = /etc/ppp/pptpd-options
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Client 166.137.142.89 control connection started
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Received PPTP Control Message (type: 1)
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Made a START CTRL CONN RPLY packet
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: I wrote 156 bytes to the client.
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Sent packet to client
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Received PPTP Control Message (type: 7)
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Made a OUT CALL RPLY packet
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Starting call (launching pppd, opening GRE)
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: pty_fd = 6
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: tty_fd = 7
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: I wrote 32 bytes to the client.
Jul 22 12:40:52 a-big-pump pptpd[2037]: CTRL: Sent packet to client
Jul 22 12:40:52 a-big-pump pptpd[2038]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Jul 22 12:40:52 a-big-pump pptpd[2038]: CTRL (PPPD Launcher): local address = 192.168.100.7
Jul 22 12:40:52 a-big-pump pptpd[2038]: CTRL (PPPD Launcher): remote address = 192.168.102.1
Jul 22 12:40:52 a-big-pump pppd[2038]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Jul 22 12:40:52 a-big-pump pppd[2038]: pptpd-logwtmp: $Version$
Jul 22 12:40:52 a-big-pump pppd[2038]: pppd 2.4.5 started by root, uid 0
Jul 22 12:40:52 a-big-pump pppd[2038]: using channel 7
Jul 22 12:40:52 a-big-pump pppd[2038]: Using interface ppp0
Jul 22 12:40:52 a-big-pump pppd[2038]: Connect: ppp0 <--> /dev/pts/1
Jul 22 12:40:52 a-big-pump pppd[2038]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x85f645a2> <pcomp> <accomp>]
Jul 22 12:40:52 a-big-pump pptpd[2037]: GRE: Bad checksum from pppd.
Jul 22 12:40:53 a-big-pump pptpd[2037]: CTRL: Received PPTP Control Message (type: 15)
Jul 22 12:40:53 a-big-pump pptpd[2037]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Jul 22 12:40:53 a-big-pump pptpd[2037]: GRE: accepting packet #1
Jul 22 12:40:53 a-big-pump pppd[2038]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x126ec579> <pcomp> <accomp>]
Jul 22 12:40:53 a-big-pump pppd[2038]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x126ec579> <pcomp> <accomp>]
Jul 22 12:40:55 a-big-pump pppd[2038]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x85f645a2> <pcomp> <accomp>]
Jul 22 12:40:56 a-big-pump pptpd[2037]: GRE: accepting packet #2
Jul 22 12:40:56 a-big-pump pppd[2038]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x85f645a2> <pcomp> <accomp>]
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [LCP EchoReq id=0x0 magic=0x85f645a2]
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [CHAP Challenge id=0x42 <f25aa922ab57746973b8a7a1904ce83c>, name = "vockley.com"]
Jul 22 12:40:56 a-big-pump pptpd[2037]: GRE: accepting packet #3
Jul 22 12:40:56 a-big-pump pppd[2038]: rcvd [LCP EchoReq id=0x0 magic=0x126ec579]
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [LCP EchoRep id=0x0 magic=0x85f645a2]
Jul 22 12:40:56 a-big-pump pptpd[2037]: GRE: accepting packet #4
Jul 22 12:40:56 a-big-pump pppd[2038]: rcvd [LCP EchoRep id=0x0 magic=0x126ec579]
Jul 22 12:40:56 a-big-pump pptpd[2037]: GRE: accepting packet #5
Jul 22 12:40:56 a-big-pump pppd[2038]: rcvd [CHAP Response id=0x42 <bac59dd64484249f93c449bdc9d72131000000000000000017aaf3f11943c7a088ec5fea50ed647789d0cf4e7ea2558600> , name = "aaron"]
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [CHAP Success id=0x42 "S=449EB111E6A852BD8F447BA32CDD7B4C525338E5 M=Access granted"]
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
Jul 22 12:40:56 a-big-pump pptpd[2037]: GRE: accepting packet #6
Jul 22 12:40:56 a-big-pump pptpd[2037]: GRE: accepting packet #7
Jul 22 12:40:56 a-big-pump pppd[2038]: rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
Jul 22 12:40:56 a-big-pump pppd[2038]: rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
Jul 22 12:40:56 a-big-pump pppd[2038]: MPPE 128-bit stateless compression enabled
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.100.7>]
Jul 22 12:40:56 a-big-pump pptpd[2037]: GRE: accepting packet #8
Jul 22 12:40:56 a-big-pump pppd[2038]: rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Jul 22 12:40:56 a-big-pump pppd[2038]: sent [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Jul 22 12:40:57 a-big-pump pptpd[2037]: GRE: accepting packet #9
Jul 22 12:40:57 a-big-pump pptpd[2037]: GRE: accepting packet #10
Jul 22 12:40:57 a-big-pump pppd[2038]: rcvd [IPV6CP ConfReq id=0x1 <addr fe80::e598:3e10:037f:0176>]
Jul 22 12:40:57 a-big-pump pppd[2038]: Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
Jul 22 12:40:57 a-big-pump pppd[2038]: sent [LCP ProtRej id=0x2 80 57 01 01 00 0e 01 0a e5 98 3e 10 03 7f 01 76]
Jul 22 12:40:57 a-big-pump pppd[2038]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Jul 22 12:40:57 a-big-pump pppd[2038]: sent [IPCP ConfReq id=0x2 <addr 192.168.100.7>]
Jul 22 12:40:57 a-big-pump pptpd[2037]: GRE: accepting packet #11
Jul 22 12:40:57 a-big-pump pppd[2038]: rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
Jul 22 12:40:57 a-big-pump pppd[2038]: sent [IPCP ConfNak id=0x2 <addr 192.168.102.1>]
Jul 22 12:40:57 a-big-pump pptpd[2037]: GRE: accepting packet #12
Jul 22 12:40:57 a-big-pump pppd[2038]: rcvd [IPCP ConfAck id=0x2 <addr 192.168.100.7>]
Jul 22 12:40:57 a-big-pump pptpd[2037]: GRE: accepting packet #13
Jul 22 12:40:57 a-big-pump pppd[2038]: rcvd [IPCP ConfReq id=0x3 <addr 192.168.102.1>]
Jul 22 12:40:57 a-big-pump pppd[2038]: sent [IPCP ConfAck id=0x3 <addr 192.168.102.1>]
Jul 22 12:40:57 a-big-pump pppd[2038]: Cannot determine ethernet address for proxy ARP
Jul 22 12:40:57 a-big-pump pppd[2038]: local IP address 192.168.100.7
Jul 22 12:40:57 a-big-pump pppd[2038]: remote IP address 192.168.102.1
Jul 22 12:40:57 a-big-pump pppd[2038]: pptpd-logwtmp.so ip-up ppp0 aaron 166.137.142.89
Jul 22 12:40:57 a-big-pump pppd[2038]: Script /etc/ppp/ip-up started (pid 2041)
Jul 22 12:40:57 a-big-pump pppd[2038]: Script /etc/ppp/ip-up finished (pid 2041), status = 0x0
Jul 22 12:40:57 a-big-pump pptpd[2037]: GRE: accepting packet #14
Jul 22 12:41:00 a-big-pump pptpd[2037]: GRE: accepting packet #15
Jul 22 12:41:03 a-big-pump pptpd[2037]: GRE: accepting packet #16
Jul 22 12:41:03 a-big-pump pppd[2038]: rcvd [LCP TermReq id=0x2 "MPPE disabled"]
Jul 22 12:41:03 a-big-pump pppd[2038]: LCP terminated by peer (MPPE disabled)
Jul 22 12:41:03 a-big-pump pppd[2038]: pptpd-logwtmp.so ip-down ppp0
Jul 22 12:41:03 a-big-pump pppd[2038]: Connect time 0.1 minutes.
Jul 22 12:41:03 a-big-pump pppd[2038]: Sent 0 bytes, received 580 bytes.
Jul 22 12:41:03 a-big-pump pppd[2038]: Script /etc/ppp/ip-down started (pid 2070)
Jul 22 12:41:03 a-big-pump pppd[2038]: sent [LCP TermAck id=0x2]
Jul 22 12:41:03 a-big-pump pppd[2038]: Script /etc/ppp/ip-down finished (pid 2070), status = 0x0
Jul 22 12:41:03 a-big-pump pptpd[2037]: GRE: accepting packet #17
Jul 22 12:41:03 a-big-pump pppd[2038]: rcvd [LCP TermReq id=0x3 "MPPE disabled"]
Jul 22 12:41:03 a-big-pump pppd[2038]: sent [LCP TermAck id=0x3]
Jul 22 12:41:04 a-big-pump pptpd[2037]: CTRL: EOF or bad error reading ctrl packet length.
Jul 22 12:41:04 a-big-pump pptpd[2037]: CTRL: couldn't read packet header (exit)
Jul 22 12:41:04 a-big-pump pptpd[2037]: CTRL: CTRL read failed
Jul 22 12:41:04 a-big-pump pptpd[2037]: CTRL: Reaping child PPP[2038]
Jul 22 12:41:04 a-big-pump pppd[2038]: Hangup (SIGHUP)
Jul 22 12:41:04 a-big-pump pppd[2038]: Modem hangup
Jul 22 12:41:04 a-big-pump pppd[2038]: Connection terminated.
Jul 22 12:41:04 a-big-pump pppd[2038]: Exit.
Jul 22 12:41:04 a-big-pump pptpd[2037]: CTRL: Client 166.137.142.89 control connection finished
Jul 22 12:41:04 a-big-pump pptpd[2037]: CTRL: Exiting now
Jul 22 12:41:04 a-big-pump pptpd[1999]: MGR: Reaped child 2037
|
Mac connection log:
Quote:
Jul 22 12:39:01 a-big-pump pptpd[2009]: MGR: Launching /usr/sbin/pptpctrl to handle client
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: local address = 192.168.100.7
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: remote address = 192.168.102.1
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: pppd options file = /etc/ppp/pptpd-options
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: Client 128.147.28.1 control connection started
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: Received PPTP Control Message (type: 1)
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: Made a START CTRL CONN RPLY packet
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: I wrote 156 bytes to the client.
Jul 22 12:39:01 a-big-pump pptpd[2009]: CTRL: Sent packet to client
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: Received PPTP Control Message (type: 7)
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: Made a OUT CALL RPLY packet
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: Starting call (launching pppd, opening GRE)
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: pty_fd = 6
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: tty_fd = 7
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: I wrote 32 bytes to the client.
Jul 22 12:39:02 a-big-pump pptpd[2010]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: Sent packet to client
Jul 22 12:39:02 a-big-pump pptpd[2010]: CTRL (PPPD Launcher): local address = 192.168.100.7
Jul 22 12:39:02 a-big-pump pptpd[2010]: CTRL (PPPD Launcher): remote address = 192.168.102.1
Jul 22 12:39:02 a-big-pump pppd[2010]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Jul 22 12:39:02 a-big-pump pppd[2010]: pptpd-logwtmp: $Version$
Jul 22 12:39:02 a-big-pump pppd[2010]: pppd 2.4.5 started by root, uid 0
Jul 22 12:39:02 a-big-pump pppd[2010]: using channel 6
Jul 22 12:39:02 a-big-pump pppd[2010]: Using interface ppp0
Jul 22 12:39:02 a-big-pump pppd[2010]: Connect: ppp0 <--> /dev/pts/1
Jul 22 12:39:02 a-big-pump pppd[2010]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xd64680c0> <pcomp> <accomp>]
Jul 22 12:39:02 a-big-pump pptpd[2009]: GRE: Bad checksum from pppd.
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: Received PPTP Control Message (type: 15)
Jul 22 12:39:02 a-big-pump pptpd[2009]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Jul 22 12:39:05 a-big-pump pppd[2010]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xd64680c0> <pcomp> <accomp>]
Jul 22 12:39:32 a-big-pump pppd[2010]: last message repeated 8 times
Jul 22 12:39:32 a-big-pump pppd[2010]: LCP: timeout sending Config-Requests
Jul 22 12:39:32 a-big-pump pppd[2010]: Connection terminated.
Jul 22 12:39:32 a-big-pump pptpd[2009]: CTRL: EOF or bad error reading ctrl packet length.
Jul 22 12:39:32 a-big-pump pptpd[2009]: CTRL: couldn't read packet header (exit)
Jul 22 12:39:32 a-big-pump pptpd[2009]: CTRL: CTRL read failed
Jul 22 12:39:32 a-big-pump pptpd[2009]: CTRL: Reaping child PPP[2010]
Jul 22 12:39:32 a-big-pump pppd[2010]: Hangup (SIGHUP)
Jul 22 12:39:32 a-big-pump pppd[2010]: Modem hangup
Jul 22 12:39:32 a-big-pump pppd[2010]: Exit.
Jul 22 12:39:32 a-big-pump pptpd[2009]: CTRL: Client 128.147.28.1 control connection finished
Jul 22 12:39:32 a-big-pump pptpd[2009]: CTRL: Exiting now
Jul 22 12:39:32 a-big-pump pptpd[1999]: MGR: Reaped child 2009
|
/etc/pptpd.conf
Quote:
option /etc/ppp/pptpd-options
logwtmp
debug
localip 192.168.100.7
remoteip 192.168.102.1-10
|
/etc/ppp/pptpd-options
Quote:
name vockley.com
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
nodefaultroute
debug
nobsdcomp
auth
|
"net.ipv4.ip_forward=1" is set in /etc/sysctl.conf.
Any ideas what could be going on here?