Tunel z pocitace do site

Zbyněk Burget zburget at miastudio.cz
Thu Sep 23 09:00:31 CEST 2004


Petr Řehoř wrote:

> 
> A) je spravne. PPP demon ktery umi i PPTP je net/mpd.
> 

Takze jsem si s tim zkusil trochu pohrat, nicmene mi to samozrejme 
nefunguje :-(

Priznam se, ze nerozumim uplne dane problematice, nicmene jsem 
prostudoval manual a "mirne" upravil sample konfiguraky.

Pri pokusu o spojeni s w2k mi mpd vypisuje nasledujici:

bash-2.05b# mpd
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 318, version 3.18 (root at omega 14:23 22-Sep-2004)
[pptp] ppp node is "mpd318-pptp"
mpd: local IP address for PPTP is 213.83.28.71
[pptp] using interface ng0
[pptp:pptp] mpd: PPTP connection from 62.4.97.187:61443
pptp0: attached to connection with 62.4.97.187:61443
[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 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
pptp0-0: ignoring SetLinkInfo
[pptp] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
  MAGICNUM 04b87924
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
  MP MRRU 1614
  ENDPOINTDISC [LOCAL] 02 44 c3 b0 8e 17 4f 54 b1 ce e2 34 85 e6 63 2f 
00 00 00 03
[pptp] LCP: SendConfigRej #0
  CALLBACK
[pptp] LCP: SendConfigReq #2
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
  MAGICNUM 04b87924
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
  MP MRRU 1614
  ENDPOINTDISC [LOCAL] 02 44 c3 b0 8e 17 4f 54 b1 ce e2 34 85 e6 63 2f 
00 00 00 03
[pptp] LCP: SendConfigRej #1
  CALLBACK
[pptp] LCP: SendConfigReq #3
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: rec'd Configure Request #2 link 0 (Req-Sent)
  MAGICNUM 04b87924
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
  MP MRRU 1614
  ENDPOINTDISC [LOCAL] 02 44 c3 b0 8e 17 4f 54 b1 ce e2 34 85 e6 63 2f 
00 00 00 03
[pptp] LCP: SendConfigRej #2
  CALLBACK
[pptp] LCP: SendConfigReq #4
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: SendConfigReq #5
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: rec'd Configure Request #3 link 0 (Req-Sent)
  MAGICNUM 04b87924
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
  MP MRRU 1614
  ENDPOINTDISC [LOCAL] 02 44 c3 b0 8e 17 4f 54 b1 ce e2 34 85 e6 63 2f 
00 00 00 03
[pptp] LCP: SendConfigRej #3
  CALLBACK
[pptp] LCP: SendConfigReq #6
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: SendConfigReq #7
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: rec'd Configure Request #4 link 0 (Req-Sent)
  MAGICNUM 04b87924
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
  MP MRRU 1614
  ENDPOINTDISC [LOCAL] 02 44 c3 b0 8e 17 4f 54 b1 ce e2 34 85 e6 63 2f 
00 00 00 03
[pptp] LCP: SendConfigRej #4
  CALLBACK
[pptp] LCP: SendConfigReq #8
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: SendConfigReq #9
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 46998b76
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 4c 00 10 71 bc b2
[pptp] LCP: rec'd Configure Request #5 link 0 (Req-Sent)
  MAGICNUM 04b87924
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
  MP MRRU 1614
  ENDPOINTDISC [LOCAL] 02 44 c3 b0 8e 17 4f 54 b1 ce e2 34 85 e6 63 2f 
00 00 00 03
[pptp] LCP: not converging
[pptp] LCP: parameter negotiation failed
[pptp] LCP: state change Req-Sent --> Stopped
[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 62.4.97.187:61443
[pptp] IFACE: Close event
[pptp] device is now in state CLOSING
[pptp] bundle: CLOSE event in state OPENED
[pptp] closing link "pptp"...
[pptp] device: DOWN event in state CLOSING
[pptp] device is now in state DOWN
[pptp] link: CLOSE event
[pptp] LCP: Close event
[pptp] LCP: state change Stopped --> Closed
[pptp] device: DOWN event in state DOWN
[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] link: DOWN event
[pptp] LCP: Down event
pptp0: killing connection with 62.4.97.187:61443
quit
[pptp] IPCP: Down event
[pptp] IFACE: Close event
mpd: process 318 terminated

===========================

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 iface enable tcpmssfix
	set bundle enable multilink
	set bundle enable tcp-wrapper
	set link yes acfcomp protocomp
	set link no pap chap
	set link enable chap
	set link keep-alive 10 60
	set link mtu 1460
	set ipcp yes vjcomp
	set ipcp ranges 172.16.1.100/32 172.16.1.101/32
	set ipcp dns 0.0.0.0
	set ipcp nbns 0.0.0.0
	set bundle enable compression
	set ccp yes mppc
	set ccp yes mpp-e40
	set ccp yes mpp-e128
	set ccp yes mpp-stateless


=================================

mpd.links
=========





More information about the Users-l mailing list