Код:
[color][color="teal"]
default:
load pptp0
load pptp1
load pptp2
pptp0:
new -i ng0 pptp0 pptp0
set ipcp ranges 192.168.1.150/32 192.16$
load pptp_standart
pptp1:
new -i ng1 pptp1 pptp1
set ipcp ranges 192.168.1.150/32 192.16$
load pptp_standart
pptp2:
new -i ng2 pptp2 pptp2
set ipcp ranges 192.168.1.150/32 192.16$
load pptp_standart
pptp_standart:
set iface disable on-demand
set bundle disable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 60 180
set ipcp yes vjcomp
set bundle enable compression
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
set pptp self 0.0.0.0
set pptp enable incoming
set pptp disable originate
Mpd.links прописанны,ng в ядро включен.
Виндовый клиент коннектится, и даже пингутся,но через 10-15 сек неминуемый дисконнект.
А в логах тем временем вот что
Код:
Mar 8 11:48:30 petrun mpd: [pptp0] ppp node is "mpd1566-pptp0"
Mar 8 11:48:30 petrun mpd: [pptp0] using interface ng0
Mar 8 11:48:30 petrun mpd: mpd: local IP address for PPTP is 0.0.0.0
Mar 8 11:48:30 petrun mpd: [pptp1] ppp node is "mpd1566-pptp1"
Mar 8 11:48:30 petrun mpd: [pptp1] using interface ng1
Mar 8 11:48:30 petrun mpd: [pptp2] ppp node is "mpd1566-pptp2"
Mar 8 11:48:30 petrun mpd: [pptp2] using interface ng2
Mar 8 11:48:33 petrun mpd: mpd: caught fatal signal int
Mar 8 11:48:33 petrun mpd: mpd: fatal error, exiting
Mar 8 11:48:33 petrun mpd: [pptp0] IPCP: Down event
Mar 8 11:48:33 petrun mpd: [pptp0] IFACE: Close event
Mar 8 11:48:33 petrun mpd: [pptp1] IPCP: Down event
Mar 8 11:48:33 petrun mpd: [pptp1] IFACE: Close event
Mar 8 11:48:33 petrun mpd: [pptp2] IPCP: Down event
Mar 8 11:48:33 petrun mpd: [pptp2] IFACE: Close event
Mar 8 11:48:33 petrun mpd: mpd: process 1566 terminated
Mar 8 11:48:37 petrun mpd: mpd: pid 1838, version 3.18 (root@petrun.petrun-router 15:40 6-Mar-2008)
Mar 8 11:48:37 petrun mpd: [pptp0] ppp node is "mpd1838-pptp0"
Mar 8 11:48:37 petrun mpd: [pptp0] using interface ng0
Mar 8 11:48:37 petrun mpd: mpd: local IP address for PPTP is 0.0.0.0
Mar 8 11:48:37 petrun mpd: [pptp1] ppp node is "mpd1838-pptp1"
Mar 8 11:48:37 petrun mpd: [pptp1] using interface ng1
Mar 8 11:48:37 petrun mpd: [pptp2] ppp node is "mpd1838-pptp2"
Mar 8 11:48:37 petrun mpd: [pptp2] using interface ng2
Mar 8 11:48:52 petrun mpd: mpd: PPTP connection from 85.140.185.93:3948
Mar 8 11:48:52 petrun mpd: pptp0: attached to connection with 85.140.185.93:3948
Mar 8 11:48:52 petrun mpd: [pptp0] IFACE: Open event
Mar 8 11:48:52 petrun mpd: [pptp0] IPCP: Open event
Mar 8 11:48:52 petrun mpd: [pptp0] IPCP: state change Initial --> Starting
Mar 8 11:48:52 petrun mpd: [pptp0] IPCP: LayerStart
Mar 8 11:48:52 petrun mpd: [pptp0] IPCP: Open event
Mar 8 11:48:52 petrun mpd: [pptp0] bundle: OPEN event in state CLOSED
Mar 8 11:48:52 petrun mpd: [pptp0] opening link "pptp0"...
Mar 8 11:48:52 petrun mpd: [pptp0] link: OPEN event
Mar 8 11:48:52 petrun mpd: [pptp0] LCP: Open event
Mar 8 11:48:52 petrun mpd: [pptp0] LCP: state change Initial --> Starting
Mar 8 11:48:52 petrun mpd: [pptp0] LCP: LayerStart
Mar 8 11:48:52 petrun mpd: [pptp0] device: OPEN event in state DOWN
Mar 8 11:48:52 petrun mpd: [pptp0] attaching to peer's outgoing call
Mar 8 11:48:52 petrun mpd: [pptp0] device is now in state OPENING
Mar 8 11:48:52 petrun mpd: [pptp0] device: UP event in state OPENING
Mar 8 11:48:52 petrun mpd: [pptp0] device is now in state UP
Mar 8 11:48:52 petrun mpd: [pptp0] link: UP event
Mar 8 11:48:52 petrun mpd: [pptp0] link: origination is remote
Mar 8 11:48:52 petrun mpd: [pptp0] LCP: Up event
Mar 8 11:48:52 petrun mpd: [pptp0] LCP: state change Starting --> Req-Sent
Mar 8 11:48:52 petrun mpd: [pptp0] LCP: phase shift DEAD --> ESTABLISH
Mar 8 11:48:52 petrun mpd: [pptp0] LCP: SendConfigReq #1
Mar 8 11:48:52 petrun mpd: ACFCOMP
Mar 8 11:48:52 petrun mpd: PROTOCOMP
Mar 8 11:48:52 petrun mpd: MRU 1500
Mar 8 11:48:52 petrun mpd: MAGICNUM 9f41bcb2
Mar 8 11:48:52 petrun mpd: AUTHPROTO CHAP MSOFTv2
Mar 8 11:48:53 petrun mpd: pptp0-0: ignoring SetLinkInfo
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
Mar 8 11:48:53 petrun mpd: MRU 1400
Mar 8 11:48:53 petrun mpd: MAGICNUM 7226536a
Mar 8 11:48:53 petrun mpd: PROTOCOMP
Mar 8 11:48:53 petrun mpd: ACFCOMP
Mar 8 11:48:53 petrun mpd: CALLBACK
Mar 8 11:48:53 petrun mpd: Not supported
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: SendConfigRej #0
Mar 8 11:48:53 petrun mpd: CALLBACK
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: rec'd Configure Ack #1 link 0 (Req-Sent)
Mar 8 11:48:53 petrun mpd: ACFCOMP
Mar 8 11:48:53 petrun mpd: PROTOCOMP
Mar 8 11:48:53 petrun mpd: MRU 1500
Mar 8 11:48:53 petrun mpd: MAGICNUM 9f41bcb2
Mar 8 11:48:53 petrun mpd: AUTHPROTO CHAP MSOFTv2
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: state change Req-Sent --> Ack-Rcvd
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: rec'd Configure Request #1 link 0 (Ack-Rcvd)
Mar 8 11:48:53 petrun mpd: MRU 1400
Mar 8 11:48:53 petrun mpd: MAGICNUM 7226536a
Mar 8 11:48:53 petrun mpd: PROTOCOMP
Mar 8 11:48:53 petrun mpd: ACFCOMP
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: SendConfigAck #1
Mar 8 11:48:53 petrun mpd: MRU 1400
Mar 8 11:48:53 petrun mpd: MAGICNUM 7226536a
Mar 8 11:48:53 petrun mpd: PROTOCOMP
Mar 8 11:48:53 petrun mpd: ACFCOMP
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: state change Ack-Rcvd --> Opened
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: phase shift ESTABLISH --> AUTHENTICATE
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: auth: peer wants nothing, I want CHAP
Mar 8 11:48:53 petrun mpd: [pptp0] CHAP: sending CHALLENGE
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: LayerUp
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: rec'd Ident #2 link 0 (Opened)
Mar 8 11:48:53 petrun mpd: MESG: MSRASV5.10
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: rec'd Ident #3 link 0 (Opened)
Mar 8 11:48:53 petrun mpd: MESG: MSRAS-0-NIKITA
Mar 8 11:48:53 petrun mpd: [pptp0] CHAP: rec'd RESPONSE #1
Mar 8 11:48:53 petrun mpd: Name: "petrun"
Mar 8 11:48:53 petrun mpd: Peer name: "petrun"
Mar 8 11:48:53 petrun mpd: Response is valid
Mar 8 11:48:53 petrun mpd: [pptp0] CHAP: sending SUCCESS
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: authorization successful
Mar 8 11:48:53 petrun mpd: [pptp0] LCP: phase shift AUTHENTICATE --> NETWORK
Mar 8 11:48:53 petrun mpd: [pptp0] setting interface ng0 MTU to 1400 bytes
Mar 8 11:48:53 petrun mpd: [pptp0] up: 1 link, total bandwidth 64000 bps
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: Up event
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: state change Starting --> Req-Sent
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: SendConfigReq #1
Mar 8 11:48:53 petrun mpd: IPADDR 192.168.1.150
Mar 8 11:48:53 petrun mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 8 11:48:53 petrun mpd: [pptp0] error writing len 20 frame to bypass: Network is down
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: Open event
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: state change Initial --> Starting
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: LayerStart
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: Up event
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: state change Starting --> Req-Sent
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: SendConfigReq #1
Mar 8 11:48:53 petrun mpd: [pptp0] error writing len 8 frame to bypass: Network is down
Mar 8 11:48:53 petrun mpd: pptp0-0: ignoring SetLinkInfo
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: rec'd Configure Request #4 link 0 (Req-Sent)
Mar 8 11:48:53 petrun mpd: MPPC
Mar 8 11:48:53 petrun mpd: 0x01000001: MPPC
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: SendConfigRej #4
Mar 8 11:48:53 petrun mpd: MPPC
Mar 8 11:48:53 petrun mpd: 0x01000001: MPPC
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: rec'd Configure Request #5 link 0 (Req-Sent)
Mar 8 11:48:53 petrun mpd: IPADDR 0.0.0.0
Mar 8 11:48:53 petrun mpd: NAKing with 192.168.5.10
Mar 8 11:48:53 petrun mpd: PRIDNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: PRINBNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: SECDNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: SECNBNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: SendConfigRej #5
Mar 8 11:48:53 petrun mpd: PRIDNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: PRINBNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: SECDNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: SECNBNS 0.0.0.0
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: rec'd Terminate Request #6 link 0 (Req-Sent)
Mar 8 11:48:53 petrun mpd: [pptp0] CCP: SendTerminateAck #2
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: rec'd Configure Request #7 link 0 (Req-Sent)
Mar 8 11:48:53 petrun mpd: IPADDR 0.0.0.0
Mar 8 11:48:53 petrun mpd: NAKing with 192.168.5.10
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: SendConfigNak #7
Mar 8 11:48:53 petrun mpd: IPADDR 192.168.5.10
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: rec'd Configure Request #8 link 0 (Req-Sent)
Mar 8 11:48:53 petrun mpd: IPADDR 192.168.5.10
Mar 8 11:48:53 petrun mpd: 192.168.5.10 is OK
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: SendConfigAck #8
Mar 8 11:48:53 petrun mpd: IPADDR 192.168.5.10
Mar 8 11:48:53 petrun mpd: [pptp0] IPCP: state change Req-Sent --> Ack-Sent
Mar 8 11:48:54 petrun mpd: [pptp0] CCP: rec'd Terminate Request #9 link 0 (Req-Sent)
Mar 8 11:48:54 petrun mpd: [pptp0] CCP: SendTerminateAck #3
Mar 8 11:48:55 petrun mpd: [pptp0] IPCP: SendConfigReq #2
Mar 8 11:48:55 petrun mpd: IPADDR 192.168.1.150
Mar 8 11:48:55 petrun mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 8 11:48:55 petrun mpd: [pptp0] CCP: SendConfigReq #4
Mar 8 11:48:55 petrun mpd: [pptp0] IPCP: rec'd Configure Reject #2 link 0 (Ack-Sent)
Mar 8 11:48:55 petrun mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 8 11:48:55 petrun mpd: [pptp0] IPCP: SendConfigReq #3
Mar 8 11:48:55 petrun mpd: IPADDR 192.168.1.150
Mar 8 11:48:55 petrun mpd: [pptp0] IPCP: rec'd Configure Ack #3 link 0 (Ack-Sent)
Mar 8 11:48:55 petrun mpd: IPADDR 192.168.1.150
Mar 8 11:48:55 petrun mpd: [pptp0] IPCP: state change Ack-Sent --> Opened
Mar 8 11:48:55 petrun mpd: [pptp0] IPCP: LayerUp
Mar 8 11:48:55 petrun mpd: 192.168.1.150 -> 192.168.5.10
Mar 8 11:48:55 petrun mpd: [pptp0] IFACE: Up event
Mar 8 11:48:55 petrun mpd: [pptp0] setting interface ng0 MTU to 1398 bytes
Mar 8 11:48:55 petrun mpd: [pptp0] exec: /sbin/ifconfig ng0 192.168.1.150 192.168.5.10 netmask 0xffffffff -link0
Mar 8 11:48:55 petrun mpd: [pptp0] exec: /sbin/route add 192.168.1.150 -iface lo0
Mar 8 11:48:55 petrun mpd: [pptp0] IFACE: Up event
Mar 8 11:48:55 petrun mpd: [pptp0] rec'd unexpected protocol IP on link 0
Mar 8 11:48:55 petrun last message repeated 4 times
Mar 8 11:48:57 petrun mpd: [pptp0] CCP: SendConfigReq #5
Mar 8 11:48:57 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #5 link 0 (Req-Sent)
Mar 8 11:48:59 petrun mpd: [pptp0] CCP: SendConfigReq #6
Mar 8 11:48:59 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #6 link 0 (Req-Sent)
Mar 8 11:49:01 petrun mpd: [pptp0] CCP: SendConfigReq #7
Mar 8 11:49:01 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #7 link 0 (Req-Sent)
Mar 8 11:49:03 petrun mpd: [pptp0] CCP: SendConfigReq #8
Mar 8 11:49:03 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #8 link 0 (Req-Sent)
Mar 8 11:49:05 petrun mpd: [pptp0] CCP: SendConfigReq #9
Mar 8 11:49:05 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #9 link 0 (Req-Sent)
Mar 8 11:49:07 petrun mpd: [pptp0] CCP: SendConfigReq #10
Mar 8 11:49:07 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #10 link 0 (Req-Sent)
Mar 8 11:49:09 petrun mpd: [pptp0] CCP: SendConfigReq #11
Mar 8 11:49:09 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #11 link 0 (Req-Sent)
Mar 8 11:49:11 petrun mpd: [pptp0] CCP: SendConfigReq #12
Mar 8 11:49:11 petrun mpd: [pptp0] CCP: rec'd Terminate Ack #12 link 0 (Req-Sent)
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: state change Req-Sent --> Stopped
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: LayerFinish
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: parameter negotiation failed
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: state change Stopped --> Closed
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: encryption required, but MPPE was not negotiated in both directions
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: failed to negotiate required encryption
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: LayerFinish
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: failed to negotiate required encryption
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: LayerFinish
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: LayerStart
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: state change Opened --> Starting
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: LayerDown
Mar 8 11:49:13 petrun mpd: [pptp0] IFACE: Down event
Mar 8 11:49:13 petrun mpd: [pptp0] exec: /sbin/route delete 192.168.1.150 -iface lo0
Mar 8 11:49:13 petrun mpd: [pptp0] exec: /sbin/ifconfig ng0 down delete -link0
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: LayerFinish
Mar 8 11:49:13 petrun mpd: [pptp0] bundle: CLOSE event in state OPENED
Mar 8 11:49:13 petrun mpd: [pptp0] closing link "pptp0"...
Mar 8 11:49:13 petrun mpd: [pptp0] bundle: OPEN event in state CLOSED
Mar 8 11:49:13 petrun mpd: [pptp0] opening link "pptp0"...
Mar 8 11:49:13 petrun mpd: [pptp0] link: CLOSE event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: state change Opened --> Closing
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: phase shift NETWORK --> TERMINATE
Mar 8 11:49:13 petrun mpd: [pptp0] setting interface ng0 MTU to 1500 bytes
Mar 8 11:49:13 petrun mpd: [pptp0] up: 0 links, total bandwidth 9600 bps
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: Down event
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: Down event
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: state change Closed --> Initial
Mar 8 11:49:13 petrun mpd: [pptp0] CCP: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: SendTerminateReq #2
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: LayerDown
Mar 8 11:49:13 petrun mpd: [pptp0] link: OPEN event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: Open event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: state change Closing --> Stopping
Mar 8 11:49:13 petrun mpd: pptp0-0: ignoring SetLinkInfo
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: rec'd Terminate Ack #2 link 0 (Stopping)
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: state change Stopping --> Stopped
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: phase shift TERMINATE --> ESTABLISH
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: LayerFinish
Mar 8 11:49:13 petrun mpd: [pptp0] device: CLOSE event in state UP
Mar 8 11:49:13 petrun mpd: pptp0-0: clearing call
Mar 8 11:49:13 petrun mpd: pptp0-0: killing channel
Mar 8 11:49:13 petrun mpd: [pptp0] PPTP call terminated
Mar 8 11:49:13 petrun mpd: [pptp0] IFACE: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: state change Starting --> Initial
Mar 8 11:49:13 petrun mpd: [pptp0] IPCP: LayerFinish
Mar 8 11:49:13 petrun mpd: [pptp0] IFACE: Close event
Mar 8 11:49:13 petrun mpd: pptp0: closing connection with 85.140.185.93:3948
Mar 8 11:49:13 petrun mpd: [pptp0] IFACE: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] device is now in state CLOSING
Mar 8 11:49:13 petrun mpd: [pptp0] bundle: CLOSE event in state OPENED
Mar 8 11:49:13 petrun mpd: [pptp0] closing link "pptp0"...
Mar 8 11:49:13 petrun mpd: [pptp0] device: DOWN event in state CLOSING
Mar 8 11:49:13 petrun mpd: [pptp0] device is now in state DOWN
Mar 8 11:49:13 petrun mpd: [pptp0] link: CLOSE event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: Close event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: state change Stopped --> Closed
Mar 8 11:49:13 petrun mpd: [pptp0] device: DOWN event in state DOWN
Mar 8 11:49:13 petrun mpd: [pptp0] device is now in state DOWN
Mar 8 11:49:13 petrun mpd: [pptp0] link: DOWN event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: Down event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: state change Closed --> Initial
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: phase shift ESTABLISH --> DEAD
Mar 8 11:49:13 petrun mpd: [pptp0] link: DOWN event
Mar 8 11:49:13 petrun mpd: [pptp0] LCP: Down event
Mar 8 11:49:13 petrun mpd: pptp0: killing connection with 85.140.185.93:3948
Мануал честно читал,но озарение так и не пришло.
Прошу помощи)