[pptp-server] Problems with Win2k client connecting to FreeBSD pptpd server
Andrew Bird
andrew at tns.com.au
Thu May 17 00:20:31 CDT 2001
Hi guys,
Hopefulle you might be able to help me out. I've trawled the FAQ's and
the message archives with no luck, so if you have any brilliant ideas in
the mean time they'd be much appreciated.
Ok, I have a Win2k SP1 machine which i'm attempting to connect to a
FreeBSD 3.4 pptpd server. Configuration at the moment is as follows...
/etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\ dATDT\\T TIMEOUT 40 CONNECT"
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
pptp:
enable chap
enable mschap
accept chap
accept mschap
enable proxy
set dial
set login
set timeout 0
disable pap
deny pap
set dns 10.0.0.1
set nbns 10.0.0.1
accept dns
/etc/ppp/ppp.secret
username password 10.0.200.1
/etc/ppp/options
debug
name name
auth
require-chap
proxyarp
The Win2k machine is configured for server assigned IP address (though
I've tried having it statically assigned), and is using CHAP
authentication. When I try and connect, I get the following in
/var/log/ppp.log (though in the interested of not having a terribly long
email, I've cut all the stuff at the top that seems to have worked ok)
May 17 14:27:19 bsd ppp[19763]: tun0: CCP: deflink: LayerStart.
May 17 14:27:19 bsd ppp[19763]: tun0: CCP: deflink: SendConfigReq(1)
state = Closed
May 17 14:27:19 bsd ppp[19763]: tun0: CCP: DEFLATE[4] win 15
May 17 14:27:19 bsd ppp[19763]: tun0: CCP: PRED1[2]
May 17 14:27:19 bsd ppp[19763]: tun0: CCP: deflink: State change Closed
--> Req-Sent
May 17 14:27:19 bsd ppp[19763]: tun0: Phase: deflink: lcp -> open
May 17 14:27:19 bsd ppp[19763]: tun0: Phase: bundle: Network
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: FSM: Using "deflink" as a
transport
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: deflink: State change
Initial --> Closed
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: deflink: LayerStart.
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(1)
state = Closed
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: COMPPROTO[6] 16 VJ slots
with slot compression
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 127.0.0.1
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 203.8.183.1
May 17 14:27:19 bsd ppp[19763]: tun0: IPCP: deflink: State change Closed
--> Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: deflink: RecvConfigReq(6)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: MPPC[6]
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: deflink: SendConfigRej(6)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: MPPC[6]
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigReq(7)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 0.0.0.0
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: PRINBNS[6] 0.0.0.0
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 0.0.0.0
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: SECNBNS[6] 0.0.0.0
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigNak(7)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 10.0.200.1
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 10.0.0.1
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: PRINBNS[6] 10.0.0.1
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 10.0.0.1
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: SECNBNS[6] 10.0.0.1
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: deflink: RecvConfigRej(1)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: DEFLATE[4] win 15
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: PRED1[2]
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: deflink: SendConfigReq(2)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: CCP: [EMPTY]
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigRej(1)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: COMPPROTO[6] 16 VJ slots
with slot compression
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 127.0.0.1
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 203.8.183.1
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(2)
state = Req-Sent
May 17 14:27:21 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:23 bsd ppp[19763]: tun0: CCP: deflink: RecvTerminateReq(8)
state =Req-Sent
May 17 14:27:23 bsd ppp[19763]: tun0: CCP: deflink: SendTerminateAck(8)
state =Req-Sent
May 17 14:27:24 bsd ppp[19763]: tun0: CCP: deflink: SendConfigReq(2)
state = Req-Sent
May 17 14:27:24 bsd ppp[19763]: tun0: CCP: [EMPTY]
May 17 14:27:24 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(2)
state = Req-Sent
May 17 14:27:24 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigReq(9)
state = Req-Sent
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 0.0.0.0
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: PRINBNS[6] 0.0.0.0
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 0.0.0.0
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: SECNBNS[6] 0.0.0.0
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigNak(9)
state = Req-Sent
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 10.0.200.1
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 10.0.0.1
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: PRINBNS[6] 10.0.0.1
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 10.0.0.1
May 17 14:27:25 bsd ppp[19763]: tun0: IPCP: SECNBNS[6] 10.0.0.1
May 17 14:27:26 bsd ppp[19763]: tun0: CCP: deflink: RecvTerminateAck(2)
state =Req-Sent
May 17 14:27:26 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigRej(2)
state = Req-Sent
May 17 14:27:26 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:26 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(3)
state = Req-Sent
May 17 14:27:26 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigReq(10)
state = Req-Sent
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 10.0.200.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: PRINBNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: SECNBNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigAck(10)
state = Req-Sent
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 10.0.200.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: PRIDNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: PRINBNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: SECDNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: SECNBNS[6] 10.0.0.1
May 17 14:27:27 bsd ppp[19763]: tun0: IPCP: deflink: State change
Req-Sent --> Ack-Sent
May 17 14:27:27 bsd ppp[19763]: tun0: CCP: deflink: SendConfigReq(3)
state = Req-Sent
May 17 14:27:27 bsd ppp[19763]: tun0: CCP: [EMPTY]
May 17 14:27:28 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigRej(3)
state = Ack-Sent
May 17 14:27:28 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:28 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(4)
state = Ack-Sent
May 17 14:27:28 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:30 bsd ppp[19763]: tun0: CCP: deflink: RecvTerminateAck(3)
state =Req-Sent
May 17 14:27:30 bsd ppp[19763]: tun0: CCP: deflink: SendConfigReq(4)
state = Req-Sent
May 17 14:27:30 bsd ppp[19763]: tun0: CCP: [EMPTY]
May 17 14:27:31 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigRej(4)
state = Ack-Sent
May 17 14:27:31 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:31 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(5)
state = Ack-Sent
May 17 14:27:31 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:33 bsd ppp[19763]: tun0: CCP: deflink: SendConfigReq(4)
state = Req-Sent
May 17 14:27:33 bsd ppp[19763]: tun0: CCP: [EMPTY]
May 17 14:27:33 bsd ppp[19763]: tun0: CCP: deflink: RecvTerminateAck(4)
state =Req-Sent
May 17 14:27:34 bsd ppp[19763]: tun0: IPCP: deflink: RecvConfigRej(5)
state = Ack-Sent
May 17 14:27:34 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:34 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(6)
state = Ack-Sent
May 17 14:27:34 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:36 bsd ppp[19763]: tun0: CCP: deflink: RecvTerminateAck(4),
dropped (expected 5)
May 17 14:27:36 bsd ppp[19763]: tun0: CCP: deflink: LayerFinish.
May 17 14:27:36 bsd ppp[19763]: tun0: CCP: deflink: State change
Req-Sent --> Stopped
May 17 14:27:37 bsd ppp[19763]: tun0: IPCP: deflink:
RecvTerminateReq(11) state= Ack-Sent
May 17 14:27:37 bsd ppp[19763]: tun0: IPCP: deflink:
SendTerminateAck(11) state= Ack-Sent
May 17 14:27:37 bsd ppp[19763]: tun0: IPCP: deflink: State change
Ack-Sent --> Req-Sent
May 17 14:27:38 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(6)
state = Req-Sent
May 17 14:27:38 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:41 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(6)
state = Req-Sent
May 17 14:27:41 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:41 bsd ppp[19763]: tun0: IPCP: deflink: RecvTerminateAck(6)
state = Req-Sent
May 17 14:27:41 bsd ppp[19763]: tun0: LCP: deflink: RecvTerminateReq(12)
state = Opened
May 17 14:27:41 bsd ppp[19763]: tun0: LCP: deflink: LayerDown
May 17 14:27:41 bsd ppp[19763]: tun0: LCP: deflink: SendTerminateAck(12)
state = Opened
May 17 14:27:41 bsd ppp[19763]: tun0: LCP: deflink: State change Opened
--> Stopping
May 17 14:27:41 bsd ppp[19763]: tun0: CCP: deflink: State change Stopped
--> Closed
May 17 14:27:41 bsd ppp[19763]: tun0: CCP: deflink: State change Closed
--> Initial
May 17 14:27:41 bsd ppp[19763]: tun0: Phase: deflink: open -> lcp
May 17 14:27:44 bsd ppp[19763]: tun0: IPCP: deflink: SendConfigReq(7)
state = Req-Sent
May 17 14:27:44 bsd ppp[19763]: tun0: IPCP: IPADDR[6] 0.0.0.0
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: deflink: read (0): Got zero
bytes
May 17 14:27:44 bsd ppp[19763]: tun0: LCP: deflink: State change
Stopping --> Starting
May 17 14:27:44 bsd ppp[19763]: tun0: LCP: deflink: LayerFinish
May 17 14:27:44 bsd ppp[19763]: tun0: LCP: deflink: State change
Starting --> Initial
May 17 14:27:44 bsd ppp[19763]: tun0: IPCP: deflink: State change
Req-Sent --> Starting
May 17 14:27:44 bsd ppp[19763]: tun0: IPCP: deflink: LayerFinish.
May 17 14:27:44 bsd ppp[19763]: tun0: IPCP: Connect time: 25 secs: 0
octets in,0 octets out
May 17 14:27:44 bsd ppp[19763]: tun0: IPCP: total 0 bytes/sec, peak 0
bytes/sec on Thu May 17 14:27:44 2001
May 17 14:27:44 bsd ppp[19763]: tun0: IPCP: deflink: State change
Starting --> Initial
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: bundle: Terminate
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: deflink: Disconnected!
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: deflink: Connect time: 39
secs: 921 octets in, 1088 octets out
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: total 51 bytes/sec, peak
106 bytes/sec on Thu May 17 14:27:44 2001
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: deflink: lcp -> closed
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: bundle: Dead
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: PPP Terminated (normal).
May 17 14:27:44 bsd ppp[19763]: tun0: Phase: Found interface fxp0 for
10.0.200.1
At the end of the day, I can't see what it configured wrong... any help
would be MUCH appreciated... :)
Thanks in advance,
Andrew Bird
More information about the pptp-server
mailing list