Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2003 18:29:11 +0200
From:      Gregory Edigarov <greg@profi.kharkov.ua>
To:        freebsd-net@freebsd.org
Subject:   mpd vpn
Message-ID:  <20031212162911.GA8763@profi.kharkov.ua>

next in thread | raw e-mail | index | archive | help
Hi, Everybody.

the following are my non-working configs for mpd running as a VPN server for
Windows 2000 workstations.
what's up with it? what should I do?
I am trying to login as user "admin" with password "1234567"

Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 8799, version 3.14 (root@profi.kharkov.ua 10:51  5-Nov-2003)
[pptp] ppp node is "mpd8799-pptp"
mpd: local IP address for PPTP is 192.168.4.1
[pptp] using interface ng0
[pptp:pptp] mpd: PPTP connection from 192.168.4.2:1298
pptp0: attached to connection with 192.168.4.2:1298
[pptp] IFACE: Open event
[pptp] IPCP: Open event
[pptp] IPCP: state change Initial --> Starting
[pptp] IPCP: LayerStart
[pptp] IPCP: Open event
[pptp] bundle: OPEN event in state CLOSED
[pptp] opening link "pptp"...
[pptp] link: OPEN event
[pptp] LCP: Open event
[pptp] LCP: state change Initial --> Starting
[pptp] LCP: LayerStart
[pptp] device: OPEN event in state DOWN
[pptp] attaching to peer's outgoing call
[pptp] device is now in state OPENING
[pptp] device: UP event in state OPENING
[pptp] device is now in state UP
[pptp] link: UP event
[pptp] link: origination is remote
[pptp] LCP: Up event
[pptp] LCP: state change Starting --> Req-Sent
[pptp] LCP: phase shift DEAD --> ESTABLISH
[pptp] LCP: SendConfigReq #1
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
pptp0-0: ignoring SetLinkInfo
[pptp] LCP: SendConfigReq #2
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #3
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #4
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #5
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #6
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #7
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #8
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #9
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #10
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM b99f6ba1
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: state change Req-Sent --> Stopped
[pptp] LCP: LayerFinish
[pptp] LCP: parameter negotiation failed
[pptp] LCP: LayerFinish
[pptp] device: CLOSE event in state UP
pptp0-0: clearing call
pptp0-0: killing channel
[pptp] PPTP call terminated
[pptp] IFACE: Close event
[pptp] IPCP: Close event
[pptp] IPCP: state change Starting --> Initial
[pptp] IPCP: LayerFinish
[pptp] IFACE: Close event
pptp0: closing connection with 192.168.4.2:1298
[pptp] IFACE: Close event
[pptp] device is now in state CLOSING
[pptp] bundle: CLOSE event in state OPENED
[pptp] closing link "pptp"...
[pptp] device: CLOSE event in state CLOSING
[pptp] device is now in state CLOSING
[pptp] link: CLOSE event
[pptp] LCP: Close event
[pptp] LCP: state change Stopped --> Closed
[pptp] device: DOWN event in state CLOSING
[pptp] device is now in state DOWN
[pptp] link: DOWN event
[pptp] LCP: Down event
[pptp] LCP: state change Closed --> Initial
[pptp] LCP: phase shift ESTABLISH --> DEAD
[pptp] device: DOWN event in state DOWN
[pptp] device is now in state DOWN
pptp0: killing connection with 192.168.4.2:1298
[pptp] link: DOWN event
[pptp] LCP: Down event
mpd: PPTP connection from 192.168.4.2:1299
pptp0: attached to connection with 192.168.4.2:1299
[pptp] IFACE: Open event
[pptp] IPCP: Open event
[pptp] IPCP: state change Initial --> Starting
[pptp] IPCP: LayerStart
[pptp] IPCP: Open event
[pptp] bundle: OPEN event in state CLOSED
[pptp] opening link "pptp"...
[pptp] link: OPEN event
[pptp] LCP: Open event
[pptp] LCP: state change Initial --> Starting
[pptp] LCP: LayerStart
[pptp] device: OPEN event in state DOWN
[pptp] pausing 4 seconds before open
[pptp] device is now in state DOWN
[pptp] device: OPEN event in state DOWN
[pptp] attaching to peer's outgoing call
[pptp] device is now in state OPENING
[pptp] device: UP event in state OPENING
[pptp] device is now in state UP
[pptp] link: UP event
[pptp] link: origination is remote
[pptp] LCP: Up event
[pptp] LCP: state change Starting --> Req-Sent
[pptp] LCP: phase shift DEAD --> ESTABLISH
[pptp] LCP: SendConfigReq #11
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM edfcd17c
 AUTHPROTO CHAP MSOFTv2
pptp0-0: ignoring SetLinkInfo
pptp0-0: ignoring SetLinkInfo
[pptp] LCP: SendConfigReq #12
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM edfcd17c
 AUTHPROTO CHAP MSOFTv2
[pptp] LCP: SendConfigReq #13
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM edfcd17c
 AUTHPROTO CHAP MSOFTv2
pptp0-0: call cleared by peer
pptp0-0: killing channel
[pptp] PPTP call terminated
[pptp] IFACE: Close event
[pptp] IPCP: Close event
[pptp] IPCP: state change Starting --> Initial
[pptp] IPCP: LayerFinish
[pptp] IFACE: Close event
pptp0: closing connection with 192.168.4.2:1299
[pptp] bundle: CLOSE event in state OPENED
[pptp] closing link "pptp"...
[pptp] device: DOWN event in state UP
[pptp] device is now in state DOWN
[pptp] link: CLOSE event
[pptp] LCP: Close event
[pptp] LCP: state change Req-Sent --> Closing
[pptp] LCP: phase shift ESTABLISH --> TERMINATE
[pptp] LCP: SendTerminateReq #14
[pptp] error writing len 8 frame to bypass: Network is down
[pptp] link: DOWN event
[pptp] LCP: Down event
[pptp] LCP: LayerFinish
[pptp] LCP: state change Closing --> Initial
[pptp] LCP: phase shift TERMINATE --> DEAD
pptp0: killing connection with 192.168.4.2:1299
[pptp] device: CLOSE event in state DOWN
[pptp] device is now in state DOWN

--------------------------- mpd.conf ---------

default:
	load pptp

pptp:
	new -i ng0 pptp pptp
	set iface disable on-demand
	set iface enable proxy-arp
	set iface idle 1800
	set bundle disable multilink
	set link yes acfcomp protocomp
	set link no pap chap 
	set link disable pap
	set link enable chap
	set link keep-alive 10 60
	set ipcp yes vjcomp
	set ipcp ranges 192.168.6.3/32 192.168.6.230/32
	set ipcp dns 192.168.6.1
	set ccp yes mppc
	set ccp yes mpp-e40
	set ccp yes mpp-e128
	set ccp yes mpp-stateless
	set bundle yes crypt-reqd

--------------------------- mpd.links ---------
pptp:
	set link type pptp
	set pptp self 192.168.4.1
	set pptp enable incoming
	set pptp disable originate

-------------------------- mpd.secret --------
admin	"1234567"	

-- 
With best regards,
        Gregory Edigarov
------------------------------------------------------------------------------
profi.kharkov.ua                                        Systems Administrator
------------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031212162911.GA8763>