Gentoo PPTP (VPN)
Jeg har en del tid bakset med en pptp forbindelse som skal laves fra en Linux Box (Gentoo 2.6.12) og til en server i verden.Jeg skal herefter route al min forbindelse over denne, men når jeg kører en "pon" med debug aktiveret kan jeg se en række fejl, som jeg ik kan løse...
Se loggen:
$pon jaynet debug dump logfd 2 nodetach
pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options.pptp)
name morpheus # (from /etc/ppp/peers/jaynet)
remotename PPTP # (from /etc/ppp/peers/jaynet)
# (from /etc/ppp/options.pptp)
pty pptp jaynet.k-net.dk --nolaunchpppd # (from /etc/ppp/peers/jaynet)
ipparam jaynet # (from /etc/ppp/peers/jaynet)
noipdefault # (from /etc/ppp/options.pptp)
nobsdcomp # (from /etc/ppp/options.pptp)
nodeflate # (from /etc/ppp/options.pptp)
using channel 8
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbc9f5bd9> <pcomp> <accomp>]
rcvd [proto=0x506c] 75 67 69 6e 20 63 68 65 63 6b 75 73 65 72 2e 73 6f 20 6c 6f 61 64 65 64 2e 0d 0a 63 68 65 63 6b ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbc9f5bd9> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbc9f5bd9> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbc9f5bd9> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x49400729> <pcomp> <accomp> <mrru 1500> <endpoint [MAC:00:02:b3:b3:d2:a6]>]
sent [LCP ConfRej id=0x1 <mrru 1500>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap> <magic 0x49400729> <pcomp> <accomp> <endpoint [MAC:00:02:b3:b3:d2:a6]>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap> <magic 0x49400729> <pcomp> <accomp> <endpoint [MAC:00:02:b3:b3:d2:a6]>]
sent [PAP AuthReq id=0x1 user="hidden" password=<hidden>]
rcvd [LCP EchoReq id=0x0 magic=0x49400729]
sent [LCP EchoRep id=0x0 magic=0xbc9f5bd9]
rcvd [PAP AuthAck id=0x1 "Login Ok"]
Remote message: Login Ok
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D +C>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 81.19.236.162> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfRej id=0x1 <mppe -H -M -S -L -D +C>]
sent [CCP ConfReq id=0x2]
rcvd [IPCP ConfNak id=0x1 <addr 81.7.147.xxx>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 81.7.147.xxx>]
rcvd [CCP ConfReq id=0x2]
sent [CCP ConfAck id=0x2]
rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 81.19.236.162>]
sent [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 81.19.236.162>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 81.7.147.xxx>]
local IP address 81.7.147.xxx
remote IP address 81.19.236.162
Script /etc/ppp/ip-up started (pid 16071)
Script /etc/ppp/ip-up finished (pid 16071), status = 0x0
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0x3 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0x3 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0x4]
sent [CCP ConfAck id=0x4]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0x5 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0x5 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0x6]
sent [CCP ConfAck id=0x6]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0x7 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0x7 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0x8]
sent [CCP ConfAck id=0x8]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0x9 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0x9 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0xa]
sent [CCP ConfAck id=0xa]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0xb <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0xb <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0xc]
sent [CCP ConfAck id=0xc]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0xd <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0xd <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0xe]
sent [CCP ConfAck id=0xe]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0xf <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0xf <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0x10]
sent [CCP ConfAck id=0x10]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0x11 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0x11 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0x12]
sent [CCP ConfAck id=0x12]
sent [CCP ConfReq id=0x2]
rcvd [CCP ConfReq id=0x13 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [CCP ConfRej id=0x13 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [CCP ConfAck id=0x2]
Received bad configure-ack:
rcvd [CCP ConfReq id=0x14]
sent [CCP ConfAck id=0x14]
CCP: timeout sending Config-Requests
--------------------------------------------
CTRL + C
--------------------------------------------
Terminating on signal 2.
Script /etc/ppp/ip-down started (pid 16072)
sent [LCP TermReq id=0x2 "User request"]
Script pptp jaynet.k-net.dk --nolaunchpppd finished (pid 16059), status = 0x0
Script /etc/ppp/ip-down finished (pid 16072), status = 0x0
Modem hangup
Connection terminated.
Connect time 1.4 minutes.
Sent 304 bytes, received 469 bytes.
Connect time 1.4 minutes.
Sent 304 bytes, received 469 bytes.
Håber nogen kan finde en løsning...