Skip site navigation (1)Skip section navigation (2)
Date:      22 Dec 2000 03:02:14 -0000
From:      danh@gelatinous.com
To:        freebsd-net@freebsd.org
Subject:   mpd-netgraph question
Message-ID:  <20001222030214.6295.qmail@cube.gelatinous.com>

next in thread | raw e-mail | index | archive | help
hi i'm trying to get mpd-netgraph to work on a 4.1 machine
my setup is simple, 


   these machines live       the internal interface
   on a 10.x.x.x net         of this box is 10.0.0.3  
        |                               |
        V                               V
 ___________________               
 |                  |
[bunch of win 2k clients] <-> [freebsd router/ natd ] <-> [the internet at large ] <---> [little windows box ]

  I am trying to let machines out on the internet connect to the same net
  as the bunch of win2k machines are on, pretty standard.

  i want the win 2k client connecting to think it is 10.0.0.110


here is my mpd.conf file:

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 enable chap
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp ranges 10.0.0.110/32 10.0.0.110/32
        set ipcp nbns 10.0.0.2
        set bundle enable compression
        set ccp yes mppc

here is my mpd.links file:

pptp:
        set link type pptp
#       set pptp self 10.0.0.3
        set pptp self xxx.xxx.xxx.xxx
        set pptp enable incoming
        set pptp disable originate

---

when the windows client in the outside world tries to connect,
the client gets the following error:

 Disconnected

 Error 619:  The specified port is not connected.


Any ideas what I'm doing wrong?  thanks for any help.

the relevant log in /var/log/mpd :


Dec 21 18:50:18 china mpd: mpd: PPTP connection from 216.186.220.112:4100
Dec 21 18:50:18 china mpd: pptp0: attached to connection with 216.186.220.112:4100
Dec 21 18:50:20 china mpd: [pptp] IFACE: Open event
Dec 21 18:50:20 china mpd: [pptp] IPCP: Open event
Dec 21 18:50:20 china mpd: [pptp] IPCP: state change Initial --> Starting
Dec 21 18:50:20 china mpd: [pptp] IPCP: LayerStart
Dec 21 18:50:20 china mpd: [pptp] IPCP: Open event
Dec 21 18:50:20 china mpd: [pptp] bundle: OPEN event in state CLOSED
Dec 21 18:50:20 china mpd: [pptp] opening link "pptp"...
Dec 21 18:50:20 china mpd: [pptp] link: OPEN event
Dec 21 18:50:20 china mpd: [pptp] LCP: Open event
Dec 21 18:50:20 china mpd: [pptp] LCP: state change Initial --> Starting
Dec 21 18:50:20 china mpd: [pptp] LCP: LayerStart
Dec 21 18:50:20 china mpd: [pptp] device: OPEN event in state DOWN
Dec 21 18:50:20 china mpd: [pptp] attaching to peer's outgoing call
Dec 21 18:50:20 china mpd: [pptp] device is now in state OPENING
Dec 21 18:50:20 china mpd: [pptp] device: UP event in state OPENING
Dec 21 18:50:20 china mpd: [pptp] device is now in state UP
Dec 21 18:50:20 china mpd: [pptp] link: UP event
Dec 21 18:50:20 china mpd: [pptp] link: origination is remote
Dec 21 18:50:20 china mpd: [pptp] LCP: Up event
Dec 21 18:50:20 china mpd: [pptp] LCP: state change Starting --> Req-Sent
Dec 21 18:50:20 china mpd: [pptp] LCP: phase shift DEAD --> ESTABLISH
Dec 21 18:50:20 china mpd: [pptp] LCP: SendConfigReq #17
Dec 21 18:50:20 china mpd:  ACFCOMP
Dec 21 18:50:20 china mpd:  PROTOCOMP
Dec 21 18:50:20 china mpd:  MRU 1500
Dec 21 18:50:20 china mpd:  MAGICNUM 511b49e0
Dec 21 18:50:20 china mpd:  AUTHPROTO CHAP MSOFT
Dec 21 18:50:20 china mpd: pptp0-0: ignoring SetLinkInfo
Dec 21 18:50:20 china mpd: [pptp] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
Dec 21 18:50:20 china mpd:  MAGICNUM 7f1921b1
Dec 21 18:50:20 china mpd:  PROTOCOMP
Dec 21 18:50:20 china mpd:  ACFCOMP
Dec 21 18:50:20 china mpd:  CALLBACK
Dec 21 18:50:20 china mpd:    Not supported
Dec 21 18:50:20 china mpd:  MP MRRU 1614
Dec 21 18:50:20 china mpd:  ENDPOINTDISC [LOCAL] b8 3c 6c 1d 52 9a 4c a4 8b e0 bd 40 68 fa 30 a2 00 00 00 14
Dec 21 18:50:20 china mpd: [pptp] LCP: SendConfigRej #0
Dec 21 18:50:20 china mpd:  CALLBACK
Dec 21 18:50:20 china mpd:  MP MRRU 1614
Dec 21 18:50:21 china mpd: [pptp] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
Dec 21 18:50:21 china mpd:  MAGICNUM 7f1921b1
Dec 21 18:50:21 china mpd:  PROTOCOMP
Dec 21 18:50:21 china mpd:  ACFCOMP
Dec 21 18:50:21 china mpd:  ENDPOINTDISC [LOCAL] b8 3c 6c 1d 52 9a 4c a4 8b e0 bd 40 68 fa 30 a2 00 00 00 14
Dec 21 18:50:21 china mpd: [pptp] LCP: SendConfigAck #1
Dec 21 18:50:21 china mpd:  MAGICNUM 7f1921b1
Dec 21 18:50:21 china mpd:  PROTOCOMP
Dec 21 18:50:21 china mpd:  ACFCOMP
Dec 21 18:50:21 china mpd:  ENDPOINTDISC [LOCAL] b8 3c 6c 1d 52 9a 4c a4 8b e0 bd 40 68 fa 30 a2 00 00 00 14
Dec 21 18:50:21 china mpd: [pptp] LCP: state change Req-Sent --> Ack-Sent
Dec 21 18:50:22 china mpd: [pptp] LCP: SendConfigReq #18
Dec 21 18:50:22 china mpd:  ACFCOMP
Dec 21 18:50:22 china mpd:  PROTOCOMP
Dec 21 18:50:22 china mpd:  MRU 1500
Dec 21 18:50:22 china mpd:  MAGICNUM 511b49e0
Dec 21 18:50:22 china mpd:  AUTHPROTO CHAP MSOFT
Dec 21 18:50:22 china mpd: pptp0-0: ignoring SetLinkInfo
Dec 21 18:50:22 china mpd: [pptp] LCP: rec'd Configure Ack #18 link 0 (Ack-Sent)
Dec 21 18:50:22 china mpd:  ACFCOMP
Dec 21 18:50:22 china mpd:  PROTOCOMP
Dec 21 18:50:22 china mpd:  MRU 1500
Dec 21 18:50:22 china mpd:  MAGICNUM 511b49e0
Dec 21 18:50:22 china mpd:  AUTHPROTO CHAP MSOFT
Dec 21 18:50:22 china mpd: [pptp] LCP: state change Ack-Sent --> Opened
Dec 21 18:50:22 china mpd: [pptp] LCP: phase shift ESTABLISH --> AUTHENTICATE
Dec 21 18:50:22 china mpd: [pptp] LCP: auth: peer wants nothing, I want CHAP
Dec 21 18:50:22 china mpd: [pptp] CHAP: sending CHALLENGE
Dec 21 18:50:22 china mpd: [pptp] LCP: LayerUp
Dec 21 18:50:22 china mpd: [pptp] LCP: rec'd Ident #2 link 0 (Opened)
Dec 21 18:50:22 china mpd:  MESG: MSRASV5.00
Dec 21 18:50:22 china mpd: [pptp] LCP: rec'd Ident #3 link 0 (Opened)
Dec 21 18:50:22 china mpd:  MESG: MSRAS-1-TIRAMISU
Dec 21 18:50:22 china mpd: [pptp] CHAP: rec'd RESPONSE #1
Dec 21 18:50:22 china mpd:  Name: "gymkata"
Dec 21 18:50:22 china mpd:  Peer name: "gymkata"
Dec 21 18:50:22 china mpd:  Response is valid
Dec 21 18:50:22 china mpd: [pptp] CHAP: sending SUCCESS
Dec 21 18:50:22 china mpd: [pptp] LCP: authorization successful
Dec 21 18:50:22 china mpd: [pptp] LCP: phase shift AUTHENTICATE --> NETWORK
Dec 21 18:50:22 china mpd: [pptp] up: 1 link, total bandwidth 64000 bps
Dec 21 18:50:22 china mpd: [pptp] IPCP: Up event
Dec 21 18:50:22 china mpd: [pptp] IPCP: state change Starting --> Req-Sent
Dec 21 18:50:22 china mpd: [pptp] IPCP: SendConfigReq #9
Dec 21 18:50:22 china mpd:  IPADDR 10.0.0.5
Dec 21 18:50:22 china mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Dec 21 18:50:22 china mpd: [pptp] CCP: Open event
Dec 21 18:50:22 china mpd: [pptp] CCP: state change Initial --> Starting
Dec 21 18:50:22 china mpd: [pptp] CCP: LayerStart
Dec 21 18:50:22 china mpd: [pptp] CCP: Up event
Dec 21 18:50:22 china mpd: [pptp] CCP: state change Starting --> Req-Sent
Dec 21 18:50:22 china mpd: [pptp] CCP: SendConfigReq #8
Dec 21 18:50:23 china mpd: [pptp] CCP: rec'd Configure Request #4 link 0 (Req-Sent)
Dec 21 18:50:23 china mpd:  MPPC
Dec 21 18:50:23 china mpd:    0x010000b1: MPPC MPPE, 40 bit, stateless
Dec 21 18:50:23 china mpd:    Bits 0x00000090 not supported
Dec 21 18:50:23 china mpd: [pptp] CCP: SendConfigNak #4
Dec 21 18:50:23 china mpd:  MPPC
Dec 21 18:50:23 china mpd:    0x00000000:
Dec 21 18:50:23 china mpd: [pptp] IPCP: rec'd Configure Request #5 link 0 (Req-Sent)
Dec 21 18:50:23 china mpd:  IPADDR 0.0.0.0
Dec 21 18:50:23 china mpd:    NAKing with 10.0.0.5
Dec 21 18:50:23 china mpd:  PRIDNS 0.0.0.0
Dec 21 18:50:23 china mpd:  PRINBNS 0.0.0.0
Dec 21 18:50:23 china mpd:    NAKing with 10.0.0.2
Dec 21 18:50:23 china mpd:  SECDNS 0.0.0.0
Dec 21 18:50:23 china mpd:  SECNBNS 0.0.0.0
Dec 21 18:50:23 china mpd: [pptp] IPCP: SendConfigRej #5
Dec 21 18:50:23 china mpd:  PRIDNS 0.0.0.0
Dec 21 18:50:23 china mpd:  SECDNS 0.0.0.0
Dec 21 18:50:23 china mpd:  SECNBNS 0.0.0.0
Dec 21 18:50:23 china mpd: [pptp] IPCP: rec'd Configure Reject #9 link 0 (Req-Sent)
Dec 21 18:50:23 china mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Dec 21 18:50:23 china mpd: [pptp] IPCP: SendConfigReq #10
Dec 21 18:50:23 china mpd:  IPADDR 10.0.0.5
Dec 21 18:50:23 china mpd: [pptp] CCP: rec'd Configure Nak #8 link 0 (Req-Sent)
Dec 21 18:50:23 china mpd:  MPPC
Dec 21 18:50:23 china mpd:    0x00000000:
Dec 21 18:50:23 china mpd: [pptp] CCP: SendConfigReq #9
Dec 21 18:50:23 china mpd: pptp0-0: ignoring SetLinkInfo
Dec 21 18:50:23 china mpd: [pptp] LCP: rec'd Terminate Request #6 link 0 (Opened)
Dec 21 18:50:23 china mpd: [pptp] LCP: state change Opened --> Stopping
Dec 21 18:50:23 china mpd: [pptp] LCP: phase shift NETWORK --> TERMINATE
Dec 21 18:50:23 china mpd: [pptp] up: 0 links, total bandwidth 9600 bps
Dec 21 18:50:23 china mpd: [pptp] IPCP: Down event
Dec 21 18:50:23 china mpd: [pptp] IPCP: state change Req-Sent --> Starting
Dec 21 18:50:23 china mpd: [pptp] CCP: Down event
Dec 21 18:50:23 china mpd: [pptp] CCP: state change Req-Sent --> Starting
Dec 21 18:50:23 china mpd: [pptp] CCP: Close event
Dec 21 18:50:23 china mpd: [pptp] CCP: state change Starting --> Initial
Dec 21 18:50:23 china mpd: [pptp] CCP: LayerFinish
Dec 21 18:50:23 china mpd: [pptp] LCP: SendTerminateAck #19
Dec 21 18:50:23 china mpd: [pptp] LCP: LayerDown

Dec 21 18:50:24 china mpd: [pptp] LCP: rec'd Terminate Request #7 link 0 (Stopping)
Dec 21 18:50:24 china mpd: [pptp] LCP: SendTerminateAck #20

Dec 21 18:50:25 china mpd: [pptp] LCP: state change Stopping --> Stopped
Dec 21 18:50:25 china mpd: [pptp] LCP: phase shift TERMINATE --> ESTABLISH
Dec 21 18:50:25 china mpd: [pptp] LCP: LayerFinish
Dec 21 18:50:25 china mpd: [pptp] device: CLOSE event in state UP
Dec 21 18:50:25 china mpd: pptp0-0: clearing call
Dec 21 18:50:25 china mpd: pptp0-0: killing channel
Dec 21 18:50:25 china mpd: [pptp] PPTP call terminated
Dec 21 18:50:25 china mpd: [pptp] IFACE: Close event
Dec 21 18:50:25 china mpd: [pptp] IPCP: Close event
Dec 21 18:50:25 china mpd: [pptp] IPCP: state change Starting --> Initial
Dec 21 18:50:25 china mpd: [pptp] IPCP: LayerFinish
Dec 21 18:50:25 china mpd: [pptp] IFACE: Close event
Dec 21 18:50:25 china mpd: pptp0: closing connection with 216.186.220.112:4100
Dec 21 18:50:25 china mpd: [pptp] IFACE: Close event
Dec 21 18:50:25 china mpd: [pptp] device is now in state CLOSING
Dec 21 18:50:25 china mpd: [pptp] bundle: CLOSE event in state OPENED
Dec 21 18:50:25 china mpd: [pptp] closing link "pptp"...
Dec 21 18:50:25 china mpd: [pptp] device: DOWN event in state CLOSING
Dec 21 18:50:25 china mpd: [pptp] device is now in state DOWN
Dec 21 18:50:25 china mpd: [pptp] link: CLOSE event
Dec 21 18:50:25 china mpd: [pptp] LCP: Close event
Dec 21 18:50:25 china mpd: [pptp] LCP: state change Stopped --> Closed
Dec 21 18:50:25 china mpd: [pptp] device: DOWN event in state DOWN
Dec 21 18:50:25 china mpd: [pptp] device is now in state DOWN
Dec 21 18:50:25 china mpd: [pptp] link: DOWN event
Dec 21 18:50:25 china mpd: [pptp] LCP: Down event
Dec 21 18:50:25 china mpd: [pptp] LCP: state change Closed --> Initial
Dec 21 18:50:25 china mpd: [pptp] LCP: phase shift ESTABLISH --> DEAD
Dec 21 18:50:25 china mpd: [pptp] link: DOWN event
Dec 21 18:50:25 china mpd: [pptp] LCP: Down event
Dec 21 18:50:25 china mpd: pptp0: invalid length 16 for type 4
Dec 21 18:50:25 china mpd: pptp0: killing connection with 216.186.220.112:4100


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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