NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
need help with PPTP
Hi guys,
any idea why that does not work? my snow leo mac can connect to the server..
I have those installed:
pptp-1.7.0nb2 PPTP client package for Microsoft VPN servers (no
encryption yet)
mppe-lkm-0.0.4nb2 NetBSD kernel module for MPPE compression with PPP
(http://pptpclient.sourceforge.net says supports 128-bit stateless encryption
using MPPE)
Is the MPPE kernel module broken?
dmesg said: MPPE: loaded into ppp at slot 3
thanks!
David
pppd call tunnel debug nodetach
Using interface ppp0
Connect: ppp0 <--> /dev/ttyp1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9b057f45> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MS-v2> <magic
0x58a0a15c> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MS-v2> <magic
0x58a0a15c> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x9b057f45> <pcomp> <accomp>]
rcvd [CHAP Challenge id=0xdf <30aSOMEHASHEREba6>, name = "pptpd"]
sent [CHAP Response id=0xdf <6267SOMEHASHEREf1708>, name = "XXX"]
rcvd [CHAP Success id=0xdf "S=CCDD55377A133CA312ED37E92EE26BD85716CC22"]
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x1]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfAck id=0x1]
MPPE 40-bit stateless transmit compression enabled
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x2]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfAck id=0x2]
MPPE 40-bit stateless transmit compression enabled
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x3]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfAck id=0x3]
MPPE 40-bit stateless transmit compression enabled
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x4]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfAck id=0x4]
MPPE 40-bit stateless transmit compression enabled
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x5]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfAck id=0x5]
MPPE 40-bit stateless transmit compression enabled
rcvd [IPCP TermAck id=0x1]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x6]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfAck id=0x6]
MPPE 40-bit stateless transmit compression enabled
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x7]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfAck id=0x7]
MPPE 40-bit stateless transmit compression enabled
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x8]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfAck id=0x8]
MPPE 40-bit stateless transmit compression enabled
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x9]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfAck id=0x9]
MPPE 40-bit stateless transmit compression enabled
rcvd [IPCP TermAck id=0x1]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0xa]
sent [CCP ConfAck id=0x1 <mppe +H -M -S +L -D -C>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [CCP ConfAck id=0xa]
MPPE 40-bit stateless transmit compression enabled
rcvd [IPCP TermAck id=0x1]
IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x2 "No network protocols running"]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Waiting for 1 child processes...
script /usr/pkg/sbin/pptp vpn.example.net --nolaunchpppd, pid 1647
Script /usr/pkg/sbin/pptp vpn.example.net --nolaunchpppd finished (pid 1647),
status = 0x0
----------------------
dave@hilly#cat /etc/ppp/peers/tunnel
pty "/usr/pkg/sbin/pptp vpn.example.net --nolaunchpppd"
lock
noauth
nobsdcomp
nodeflate
name XXX
remotename tunnel
file /etc/ppp/options.pptp (which is a link to /etc/ppp/options)
ipparam tunnel
----------------------
cat /etc/ppp/options
# Lock the port
lock
# We don't need the tunnel server to authenticate itself
noauth
debug
novj
#-ipv6
# We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
# (you may need to remove these refusals if the server is not using MPPE)
refuse-pap
refuse-eap
refuse-chap
refuse-mschap
# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate
nomppe-40
#nomppe-128
noipdefault
#nomppe-stateful
usepeerdns
#require-mppe
#require-mppe-128
Home |
Main Index |
Thread Index |
Old Index