News: This forum is now permanently frozen.
Pages: [1]
Topic: PPTP on WAN pass authorization then goes down!  (Read 2548 times)
« on: April 13, 2010, 22:54:46 »
md55 *
Posts: 2

I've configured:
LAN IP: 10.0.0.1/24

WAN: PPTP
local IP: 192.168.0.46/24
remote IP: 192.168.0.2

rebooted and but got errors in log:
Apr 14 02:36:15 mpd: [pptp] opening link "pptp"...
Apr 14 02:36:15 mpd: [pptp] link: OPEN event
Apr 14 02:36:15 mpd: [pptp] LCP: Open event
Apr 14 02:36:15 mpd: [pptp] LCP: state change Initial --> Starting
Apr 14 02:36:15 mpd: [pptp] LCP: LayerStart
Apr 14 02:36:15 mpd: pptp0: connecting to 192.168.0.2 1723
Apr 14 02:36:15 mpd: pptp0: connected to 192.168.0.2 1723
Apr 14 02:36:15 mpd: pptp0: attached to connection with 192.168.0.2 1723
Apr 14 02:36:15 mpd: pptp0-0: outgoing call connected at 14808325 bps
Apr 14 02:36:15 mpd: [pptp] PPTP call successful
Apr 14 02:36:15 mpd: [pptp] link: UP event
Apr 14 02:36:15 mpd: [pptp] link: origination is local
Apr 14 02:36:15 mpd: [pptp] LCP: Up event
Apr 14 02:36:15 mpd: [pptp] LCP: state change Starting --> Req-Sent
Apr 14 02:36:15 mpd: [pptp] LCP: SendConfigReq #253
Apr 14 02:36:15 mpd: ACCMAP 0x000a0000
Apr 14 02:36:15 mpd: MRU 1500
Apr 14 02:36:15 mpd: MAGICNUM 02b2df8e
Apr 14 02:36:15 mpd: [pptp] LCP: rec'd Configure Request #0 (Req-Sent)
Apr 14 02:36:15 mpd: MRU 1400
Apr 14 02:36:15 mpd: AUTHPROTO CHAP MSOFTv2
Apr 14 02:36:15 mpd: MAGICNUM 109866b0
Apr 14 02:36:15 mpd: PROTOCOMP
Apr 14 02:36:15 mpd: ACFCOMP
Apr 14 02:36:15 mpd: CALLBACK 6
Apr 14 02:36:15 mpd: MP MRRU 1614
Apr 14 02:36:15 mpd: ENDPOINTDISC [LOCAL] 46 e6 5e 9c 8c 6f 49 8f 9a cc 3d 43 da f4 42 1b 00 00 0
Apr 14 02:36:15 mpd: BACP
Apr 14 02:36:15 mpd: Not supported
Apr 14 02:36:15 mpd: [pptp] LCP: SendConfigRej #0
Apr 14 02:36:15 mpd: PROTOCOMP
Apr 14 02:36:15 mpd: ACFCOMP
Apr 14 02:36:15 mpd: CALLBACK 6
Apr 14 02:36:15 mpd: MP MRRU 1614
Apr 14 02:36:15 mpd: BACP
Apr 14 02:36:15 mpd: [pptp] LCP: rec'd Configure Ack #253 (Req-Sent)
Apr 14 02:36:15 mpd: ACCMAP 0x000a0000
Apr 14 02:36:15 mpd: MRU 1500
Apr 14 02:36:15 mpd: MAGICNUM 02b2df8e
Apr 14 02:36:15 mpd: [pptp] LCP: state change Req-Sent --> Ack-Rcvd
Apr 14 02:36:15 mpd: [pptp] LCP: rec'd Configure Request #1 (Ack-Rcvd)
Apr 14 02:36:15 mpd: MRU 1400
Apr 14 02:36:15 mpd: AUTHPROTO CHAP MSOFTv2
Apr 14 02:36:15 mpd: MAGICNUM 109866b0
Apr 14 02:36:15 mpd: ENDPOINTDISC [LOCAL] 46 e6 5e 9c 8c 6f 49 8f 9a cc 3d 43 da f4 42 1b 00 00 0
Apr 14 02:36:15 mpd: [pptp] LCP: SendConfigAck #1
Apr 14 02:36:15 mpd: MRU 1400
Apr 14 02:36:15 mpd: AUTHPROTO CHAP MSOFTv2
Apr 14 02:36:15 mpd: MAGICNUM 109866b0
Apr 14 02:36:15 mpd: ENDPOINTDISC [LOCAL] 46 e6 5e 9c 8c 6f 49 8f 9a cc 3d 43 da f4 42 1b 00 00 0
Apr 14 02:36:15 mpd: [pptp] LCP: state change Ack-Rcvd --> Opened
Apr 14 02:36:15 mpd: [pptp] LCP: auth: peer wants CHAP, I want nothing
Apr 14 02:36:15 mpd: [pptp] LCP: LayerUp
Apr 14 02:36:15 mpd: pptp0: CID 0x2c2f in SetLinkInfo not found
Apr 14 02:36:15 mpd: [pptp] CHAP: rec'd CHALLENGE #0
Apr 14 02:36:15 mpd: Name: "testSERVER"
Apr 14 02:36:15 mpd: Using authname "testUser"
Apr 14 02:36:15 mpd: [pptp] CHAP: sending RESPONSE len:58
Apr 14 02:36:15 mpd: [pptp] CHAP: rec'd SUCCESS #0
Apr 14 02:36:15 mpd: MESG: S=BD48DAB879AE822532678ED46065F4182745219B
Apr 14 02:36:15 mpd: [pptp] LCP: authorization successful
Apr 14 02:36:15 mpd: [pptp] Bundle up: 1 link, total bandwidth 64000 bps
Apr 14 02:36:15 mpd: [pptp] IPCP: Open event
Apr 14 02:36:15 mpd: [pptp] IPCP: state change Initial --> Starting
Apr 14 02:36:15 mpd: [pptp] IPCP: LayerStart
Apr 14 02:36:15 mpd: [pptp] IPCP: Up event
Apr 14 02:36:15 mpd: [pptp] IPCP: state change Starting --> Req-Sent
Apr 14 02:36:15 mpd: [pptp] IPCP: SendConfigReq #180
Apr 14 02:36:15 mpd: IPADDR 0.0.0.0
Apr 14 02:36:15 mpd: PRIDNS 0.0.0.0
Apr 14 02:36:15 mpd: SECDNS 0.0.0.0
Apr 14 02:36:15 mpd: [pptp] rec'd unexpected protocol CCP, rejecting
Apr 14 02:36:15 mpd: [pptp] IPCP: rec'd Configure Request #4 (Req-Sent)
Apr 14 02:36:15 mpd: IPADDR 192.168.1.100
Apr 14 02:36:15 mpd: 192.168.1.100 is OK
Apr 14 02:36:15 mpd: [pptp] IPCP: SendConfigAck #4
Apr 14 02:36:15 mpd: IPADDR 192.168.1.100
Apr 14 02:36:15 mpd: [pptp] IPCP: state change Req-Sent --> Ack-Sent
Apr 14 02:36:15 mpd: [pptp] LCP: rec'd Terminate Request #5 (Opened)
Apr 14 02:36:15 mpd: [pptp] LCP: state change Opened --> Stopping
Apr 14 02:36:15 mpd: [pptp] AUTH: Accounting data for user : 0 seconds, 258 octets in, 219 octets out
Apr 14 02:36:15 mpd: [pptp] Bundle up: 0 links, total bandwidth 9600 bps
Apr 14 02:36:15 mpd: [pptp] IPCP: Close event
Apr 14 02:36:15 mpd: [pptp] IPCP: state change Ack-Sent --> Closing
Apr 14 02:36:15 mpd: [pptp] IPCP: SendTerminateReq #181
Apr 14 02:36:15 mpd: [pptp] error writing len 8 frame to bypass: Network is down
Apr 14 02:36:15 mpd: [pptp] IPCP: Down event
Apr 14 02:36:15 mpd: [pptp] IPCP: LayerFinish
Apr 14 02:36:15 mpd: [pptp] No NCPs left. Closing links...
Apr 14 02:36:15 mpd: [pptp] closing link "pptp"...
Apr 14 02:36:15 mpd: [pptp] IPCP: state change Closing --> Initial
Apr 14 02:36:15 mpd: [pptp] Last link has gone and no noretry option, will reopen in 3 seconds
Apr 14 02:36:15 mpd: [pptp] AUTH: Cleanup
Apr 14 02:36:15 mpd: [pptp] LCP: SendTerminateAck #254
Apr 14 02:36:15 mpd: [pptp] LCP: LayerDown
Apr 14 02:36:15 mpd: [pptp] link: CLOSE event
Apr 14 02:36:15 mpd: [pptp] LCP: Close event
Apr 14 02:36:15 mpd: [pptp] LCP: state change Stopping --> Closing
Apr 14 02:36:15 mpd: pptp0: CID 0x2c2f in SetLinkInfo not found
Apr 14 02:36:17 mpd: [pptp] LCP: rec'd Terminate Request #6 (Closing)
Apr 14 02:36:17 mpd: [pptp] LCP: SendTerminateAck #255
Apr 14 02:36:17 mpd: [pptp] LCP: state change Closing --> Closed
Apr 14 02:36:17 mpd: [pptp] LCP: LayerFinish
Apr 14 02:36:17 mpd: pptp0-0: clearing call
Apr 14 02:36:17 mpd: pptp0-0: peer call disconnected res=zero? err=none
Apr 14 02:36:17 mpd: pptp0-0: killing channel
Apr 14 02:36:17 mpd: [pptp] PPTP call terminated
Apr 14 02:36:17 mpd: [pptp] link: DOWN event
Apr 14 02:36:17 mpd: [pptp] LCP: Down event
Apr 14 02:36:17 mpd: [pptp] LCP: state change Closed --> Initial
Apr 14 02:36:17 mpd: pptp0: closing connection with 192.168.0.2 1723
Apr 14 02:36:17 mpd: pptp0: killing connection with 192.168.0.2 1723
Apr 14 02:36:18 mpd: [pptp] Last link has gone and no noretry option, reopening in 3 seconds

so
1) why PPTP link is down after successful authorization Huh
2) what is IPADDR 192.168.1.100 in log?

m0n0wall 1.31 (built on Sat Mar 6 12:29:07 CET 2010), Platform Generic PC
PPTP server is Windows 2003 Server, and windows clients can easily connect to it
« Last Edit: April 13, 2010, 23:01:01 by md55 »
« Reply #1 on: April 19, 2010, 15:53:59 »
md55 *
Posts: 2

up
« Reply #2 on: April 19, 2010, 16:05:32 »
Manuel Kasper
Administrator
*****
Posts: 364

Code:
Apr 14 02:36:15 mpd: [pptp] rec'd unexpected protocol CCP, rejecting

The remote PPTP server is probably requesting MPPE encryption (which operates on the CCP layer). This is not supported - the WAN PPTP client feature in m0n0wall is not intended for use with VPNs, only for certain (DSL-based) Internet connections that require unencrypted PPTP.

2) what is IPADDR 192.168.1.100 in log?

The IP address that is proposed to m0n0wall by the remote PPTP server:

Code:
Apr 14 02:36:15 mpd: [pptp] IPCP: rec'd Configure Request #4 (Req-Sent)
Apr 14 02:36:15 mpd: IPADDR 192.168.1.100
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines