[BSD] mpd, pptp

Győrvári Gábor scr34m at frontember.hu
2005. Jan. 21., P, 23:42:25 CET


amire akarok csatlakozni z egy router DMZ host mogotti gep
ezert az IP cim 10.0.0.2

eddig mukodik is es csatlakozas is megkezdodik, ennek ellenere nem lep 
tovabb most sem

FreeBSD 4.8
mpd 3.18

catlakozas meg WinXP SP1 es siman letrehoztam uj kapcsolatot es a VPN-t 
valaszottam, a hitrelesites kodolasat nem modositottam

su-2.05b# mpd
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 14494, version 3.18 (root at fDuskwood 19:39 21-Jan-2005)
[pptp1] ppp node is "mpd14494-pptp1"
mpd: local IP address for PPTP is 10.0.0.2
[pptp1] using interface ng0
[pptp1:pptp1] mpd: PPTP connection from 195.199.194.97:62805
pptp0: attached to connection with 195.199.194.97:62805
[pptp1] IFACE: Open event
[pptp1] IPCP: Open event
[pptp1] IPCP: state change Initial --> Starting
[pptp1] IPCP: LayerStart
[pptp1] IPCP: Open event
[pptp1] bundle: OPEN event in state CLOSED
[pptp1] opening link "pptp1"...
[pptp1] link: OPEN event
[pptp1] LCP: Open event
[pptp1] LCP: state change Initial --> Starting
[pptp1] LCP: LayerStart
[pptp1] device: OPEN event in state DOWN
[pptp1] attaching to peer's outgoing call
[pptp1] device is now in state OPENING
[pptp1] device: UP event in state OPENING
[pptp1] device is now in state UP
[pptp1] link: UP event
[pptp1] link: origination is remote
[pptp1] LCP: Up event
[pptp1] LCP: state change Starting --> Req-Sent
[pptp1] LCP: phase shift DEAD --> ESTABLISH
[pptp1] LCP: SendConfigReq #1
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 3fd322d8
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 00 10 4b 42 e4 db
pptp0-0: ignoring SetLinkInfo
[pptp1] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
  MRU 1400
  MAGICNUM 4eec491d
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
[pptp1] LCP: SendConfigRej #0
  CALLBACK
[pptp1] LCP: SendConfigReq #2
  ACFCOMP
  PROTOCOMP
  MRU 1500
  MAGICNUM 3fd322d8
  AUTHPROTO CHAP MSOFTv2
  MP MRRU 1600
  MP SHORTSEQ
  ENDPOINTDISC [802.1] 00 10 4b 42 e4 db
[pptp1] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
  MRU 1400
  MAGICNUM 4eec491d
  PROTOCOMP
  ACFCOMP
  CALLBACK
    Not supported
[pptp1] LCP: SendConfigRej #1
  CALLBACK
[pptp1] LCP: SendConfigReq #3
  ACFCOMP


Fairlane wrote:
> Itt egy pelda, nalam ez mukodik:
> ("aaa.bbb.ccc.ddd " - publikus IP cím)
> 
> _/usr/local/etc/mpd/mpd.conf _:
> 
> default:
>    load client1
> 
> client1:
>    new -i ng0 pptp1 pptp1
>    set ipcp ranges aaa.bbb.ccc.ddd/32 192.168.50.11/32
>    load client_standard
> 
> client_standard:
>               set iface disable on-demand
>               set iface enable proxy-arp
>               set iface idle 1800
>               set iface enable tcpmssfix
>               set bundle enable multilink
>               set link yes acfcomp protocomp
>               set link no pap chap
>               set link enable chap
>               set link mtu 1460
>               set link keep-alive 10 60
>               set ipcp yes vjcomp
>               set ipcp dns 192.168.10.1                          set 
> ipcp nbns 192.168.1.1
>               set bundle enable compression
>               set ccp yes mppc
>               set ccp yes mpp-e40
>               set ccp yes mpp-e128
>               set ccp yes mpp-stateless
> 
> 
> _/usr/local/etc/mpd/mpd.links_:
> 
> pptp1:
>    set link type pptp
>    set pptp self  aaa.bbb.ccc.ddd
>    set pptp enable incoming
>    set pptp disable originate
> 
> 
> _/usr/local/etc/mpd/mpd.secret_:
> 
> test    "testpass"        192.168.50.11
> 

-- 
www.frontember.hu - scr34m.frontember.hu - ICQ: 122502783



További információk a(z) BSD levelezőlistáról