URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 65147
[ Назад ]

Исходное сообщение
"Проблема с mpd"

Отправлено vmois , 27-Мрт-06 13:56 
интересный момент, у меня поднят mpd, значит при установке 1 сеанса связи клиента с сервером все проходит на ок, т.е. у клиета вкл.  безопасный пароль требуется шифрование данных (иначе отключаться), затем пытаюсь подключить 2 сеанс, происходит ругань типа локальный комп не поддерживает данный тип шифрования данных, если отключить у клиента требуется шифрование данных (иначе отключаться), он цепляется, а третий сеанс полностью отказывается цепляться, говорит  ошибка 800, не удалось создать vpn подключение, vpn сервер не доступен или параметры безопасности для данного подключения настроены неверно.
Сервак(router0) реальный ip/192.168.0.55

mpd.conf
default:
load pptp1
load pptp2
load pptp3

pptp1:
new -i ng0 pptp1 pptp1
set ipcp ranges 10.11.12.1/32 10.11.12.2/32
load pptp_standard

pptp2:
new -i ng1 pptp2 pptp2
set ipcp ranges 10.11.12.1/32 10.11.12.3/32
load pptp_standart

pptp3:
new -i ng2 pptp3 pptp3
set ipcp ranges 10.11.12.1/32 10.11.12.4/32
load pptp_standart

pptp_standard:
set iface disable on-demand
set iface enable proxy-arp
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 ipcp dns 192.168.0.55
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set pptp self 192.168.0.55

mpd.links

pptp1:
set link type pptp
set pptp enable incoming
set pptp disable originate

pptp2:
set link type pptp
set pptp enable incoming
set pptp disable originate

pptp3:
set link type pptp
set pptp enable incoming
set pptp disable originate

mpd.secret

user1            "passwd1"            10.11.12.2
user2           "passwd2"                10.11.12.3
user3           "passwd3"              10.11.12.4



Содержание

Сообщения в этом обсуждении
"Проблема с mpd"
Отправлено Max , 27-Мрт-06 14:28 
у впн клиента убейте нафиг опцию в:
сеть>настройка (кнопка такая под выбром протокола pptp/l2tp)>Использовать програмное сжатие данных.

"Проблема с mpd"
Отправлено vmois , 27-Мрт-06 15:26 
>у впн клиента убейте нафиг опцию в:
>сеть>настройка (кнопка такая под выбром протокола pptp/l2tp)>Использовать програмное сжатие данных.


не помогло, приведу логи при успешном соединение и затем неудачном
Mar 27 15:19:57 router0 mpd: mpd: PPTP connection from 192.168.0.38:2934
Mar 27 15:19:57 router0 mpd: pptp0: attached to connection with 192.168.0.38:2934
Mar 27 15:19:57 router0 mpd: [pptp1] IFACE: Open event
Mar 27 15:19:57 router0 mpd: [pptp1] IPCP: Open event
Mar 27 15:19:57 router0 mpd: [pptp1] IPCP: state change Initial --> Starting
Mar 27 15:19:57 router0 mpd: [pptp1] IPCP: LayerStart
Mar 27 15:19:57 router0 mpd: [pptp1] IPCP: Open event
Mar 27 15:19:57 router0 mpd: [pptp1] bundle: OPEN event in state CLOSED
Mar 27 15:19:57 router0 mpd: [pptp1] opening link "pptp1"...
Mar 27 15:19:57 router0 mpd: [pptp1] link: OPEN event
Mar 27 15:19:57 router0 mpd: [pptp1] LCP: Open event
Mar 27 15:19:57 router0 mpd: [pptp1] LCP: state change Initial --> Starting
Mar 27 15:19:57 router0 mpd: [pptp1] LCP: LayerStart
Mar 27 15:19:57 router0 mpd: [pptp1] device: OPEN event in state DOWN
Mar 27 15:19:57 router0 mpd: [pptp1] pausing 2 seconds before open
Mar 27 15:19:57 router0 mpd: [pptp1] device is now in state DOWN
Mar 27 15:19:59 router0 mpd: [pptp1] device: OPEN event in state DOWN
Mar 27 15:19:59 router0 mpd: [pptp1] attaching to peer's outgoing call
Mar 27 15:19:59 router0 mpd: [pptp1] device is now in state OPENING
Mar 27 15:19:59 router0 mpd: [pptp1] device: UP event in state OPENING
Mar 27 15:19:59 router0 mpd: [pptp1] device is now in state UP
Mar 27 15:19:59 router0 mpd: [pptp1] link: UP event
Mar 27 15:19:59 router0 mpd: [pptp1] link: origination is remote
Mar 27 15:19:59 router0 mpd: [pptp1] LCP: Up event
Mar 27 15:19:59 router0 mpd: [pptp1] LCP: state change Starting --> Req-Sent
Mar 27 15:19:59 router0 mpd: [pptp1] LCP: phase shift DEAD --> ESTABLISH
Mar 27 15:19:59 router0 mpd: [pptp1] LCP: SendConfigReq #21
Mar 27 15:19:59 router0 mpd:  ACFCOMP
Mar 27 15:19:59 router0 mpd:  PROTOCOMP
Mar 27 15:19:59 router0 mpd:  MRU 1500
Mar 27 15:19:59 router0 mpd:  MAGICNUM a2c85660
Mar 27 15:19:59 router0 mpd:  AUTHPROTO CHAP MSOFTv2
Mar 27 15:19:59 router0 mpd: pptp0-0: ignoring SetLinkInfo
Mar 27 15:19:59 router0 mpd: [pptp1] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
Mar 27 15:19:59 router0 mpd:  MRU 1400
Mar 27 15:19:59 router0 mpd:  MAGICNUM 333344a5
Mar 27 15:19:59 router0 mpd:  PROTOCOMP
Mar 27 15:19:59 router0 mpd:  ACFCOMP
Mar 27 15:19:59 router0 mpd: [pptp1] LCP: SendConfigAck #0
Mar 27 15:19:59 router0 mpd:  MRU 1400
Mar 27 15:19:59 router0 mpd:  MAGICNUM 333344a5
Mar 27 15:19:59 router0 mpd:  PROTOCOMP
Mar 27 15:19:59 router0 mpd:  ACFCOMP
Mar 27 15:19:59 router0 mpd: [pptp1] LCP: state change Req-Sent --> Ack-Sent
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: SendConfigReq #22
Mar 27 15:20:01 router0 mpd:  ACFCOMP
Mar 27 15:20:01 router0 mpd:  PROTOCOMP
Mar 27 15:20:01 router0 mpd:  MRU 1500
Mar 27 15:20:01 router0 mpd:  MAGICNUM a2c85660
Mar 27 15:20:01 router0 mpd:  AUTHPROTO CHAP MSOFTv2
Mar 27 15:20:01 router0 mpd: pptp0-0: ignoring SetLinkInfo
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: rec'd Configure Ack #22 link 0 (Ack-Sent)
Mar 27 15:20:01 router0 mpd:  ACFCOMP
Mar 27 15:20:01 router0 mpd:  PROTOCOMP
Mar 27 15:20:01 router0 mpd:  MRU 1500
Mar 27 15:20:01 router0 mpd:  MAGICNUM a2c85660
Mar 27 15:20:01 router0 mpd:  AUTHPROTO CHAP MSOFTv2
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: state change Ack-Sent --> Opened
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: phase shift ESTABLISH --> AUTHENTICATE
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: auth: peer wants nothing, I want CHAP
Mar 27 15:20:01 router0 mpd: [pptp1] CHAP: sending CHALLENGE
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: LayerUp
Mar 27 15:20:01 router0 mpd: [pptp1] CHAP: rec'd RESPONSE #1
Mar 27 15:20:01 router0 mpd:  Name: "mad"
Mar 27 15:20:01 router0 mpd:  Peer name: "mad"
Mar 27 15:20:01 router0 mpd:  Response is valid
Mar 27 15:20:01 router0 mpd: [pptp1] CHAP: sending SUCCESS
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: authorization successful
Mar 27 15:20:01 router0 mpd: [pptp1] LCP: phase shift AUTHENTICATE --> NETWORK
Mar 27 15:20:01 router0 mpd: [pptp1] setting interface ng0 MTU to 1400 bytes
Mar 27 15:20:01 router0 mpd: [pptp1] up: 1 link, total bandwidth 64000 bps
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: Up event
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: state change Starting --> Req-Sent
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: SendConfigReq #11
Mar 27 15:20:01 router0 mpd:  IPADDR 10.11.12.1
Mar 27 15:20:01 router0 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Open event
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: state change Initial --> Starting
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: LayerStart
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Up event
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: state change Starting --> Req-Sent
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: SendConfigReq #11
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 40 bits are enabled -> yes
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 56 bits are enabled -> no
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 128 bits are enabled -> yes
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x01000060: MPPE, 40 bit, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: rec'd Configure Request #1 link 0 (Req-Sent)
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x010000e0: MPPE, 40 bit, 56 bit, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 40 bits are acceptable -> yes
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 56 bits are acceptable -> no
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 128 bits are acceptable -> yes
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: SendConfigNak #1
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x01000040: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: rec'd Configure Request #2 link 0 (Req-Sent)
Mar 27 15:20:01 router0 mpd:  IPADDR 0.0.0.0
Mar 27 15:20:01 router0 mpd:    NAKing with 10.11.12.2
Mar 27 15:20:01 router0 mpd:  PRIDNS 0.0.0.0
Mar 27 15:20:01 router0 mpd:    NAKing with 192.168.0.55
Mar 27 15:20:01 router0 mpd:  PRINBNS 0.0.0.0
Mar 27 15:20:01 router0 mpd:  SECDNS 0.0.0.0
Mar 27 15:20:01 router0 mpd:  SECNBNS 0.0.0.0
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: SendConfigRej #2
Mar 27 15:20:01 router0 mpd:  PRINBNS 0.0.0.0
Mar 27 15:20:01 router0 mpd:  SECDNS 0.0.0.0
Mar 27 15:20:01 router0 mpd:  SECNBNS 0.0.0.0
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: rec'd Configure Reject #11 link 0 (Req-Sent)
Mar 27 15:20:01 router0 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: SendConfigReq #12
Mar 27 15:20:01 router0 mpd:  IPADDR 10.11.12.1
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: rec'd Configure Nak #11 link 0 (Req-Sent)
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x01000040: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: SendConfigReq #12
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 40 bits are enabled -> no
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 56 bits are enabled -> no
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 128 bits are enabled -> yes
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x01000040: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: rec'd Configure Request #3 link 0 (Req-Sent)
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x01000040: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: Checking whether 128 bits are acceptable -> yes
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: SendConfigAck #3
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x01000040: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: state change Req-Sent --> Ack-Sent
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: rec'd Configure Request #4 link 0 (Req-Sent)
Mar 27 15:20:01 router0 mpd:  IPADDR 0.0.0.0
Mar 27 15:20:01 router0 mpd:    NAKing with 10.11.12.2
Mar 27 15:20:01 router0 mpd:  PRIDNS 0.0.0.0
Mar 27 15:20:01 router0 mpd:    NAKing with 192.168.0.55
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: SendConfigNak #4
Mar 27 15:20:01 router0 mpd:  IPADDR 10.11.12.2
Mar 27 15:20:01 router0 mpd:  PRIDNS 192.168.0.55
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: rec'd Configure Ack #12 link 0 (Req-Sent)
Mar 27 15:20:01 router0 mpd:  IPADDR 10.11.12.1
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: state change Req-Sent --> Ack-Rcvd
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: rec'd Configure Ack #12 link 0 (Ack-Sent)
Mar 27 15:20:01 router0 mpd:  MPPC
Mar 27 15:20:01 router0 mpd:    0x01000040: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: state change Ack-Sent --> Opened
Mar 27 15:20:01 router0 mpd: [pptp1] CCP: LayerUp
Mar 27 15:20:01 router0 mpd:   Compress using: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: Decompress using: MPPE, 128 bit, stateless
Mar 27 15:20:01 router0 mpd: [pptp1] setting interface ng0 MTU to 1396 bytes
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: rec'd Configure Request #5 link 0 (Ack-Rcvd)
Mar 27 15:20:01 router0 mpd:  IPADDR 10.11.12.2
Mar 27 15:20:01 router0 mpd:    10.11.12.2 is OK
Mar 27 15:20:01 router0 mpd:  PRIDNS 192.168.0.55
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: SendConfigAck #5
Mar 27 15:20:01 router0 mpd:  IPADDR 10.11.12.2
Mar 27 15:20:01 router0 mpd:  PRIDNS 192.168.0.55
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: state change Ack-Rcvd --> Opened
Mar 27 15:20:01 router0 mpd: [pptp1] IPCP: LayerUp
Mar 27 15:20:01 router0 mpd:   10.11.12.1 -> 10.11.12.2
Mar 27 15:20:01 router0 mpd: [pptp1] IFACE: Up event
Mar 27 15:20:01 router0 mpd: [pptp1] setting interface ng0 MTU to 1396 bytes
Mar 27 15:20:01 router0 mpd: [pptp1] exec: /sbin/ifconfig ng0 10.11.12.1 10.11.12.2 netmask 0xffffffff -link0
Mar 27 15:20:01 router0 mpd: [pptp1] no interface to proxy arp on for 10.11.12.2
Mar 27 15:20:01 router0 mpd: [pptp1] exec: /sbin/route add 10.11.12.1 -iface lo0
Mar 27 15:20:01 router0 mpd: [pptp1] IFACE: Up event


ошибка

Mar 27 15:20:01 router0 mpd: [pptp1] setting interface ng0 MTU to 1396 bytes
Mar 27 15:20:01 router0 mpd: [pptp1] exec: /sbin/ifconfig ng0 10.11.12.1 10.11.12.2 netmask 0xffffffff -link0
Mar 27 15:20:01 router0 mpd: [pptp1] no interface to proxy arp on for 10.11.12.2
Mar 27 15:20:01 router0 mpd: [pptp1] exec: /sbin/route add 10.11.12.1 -iface lo0
Mar 27 15:20:01 router0 mpd: [pptp1] IFACE: Up event
Mar 27 15:23:13 router0 mpd: [pptp2] IFACE: Open event
Mar 27 15:23:13 router0 mpd: [pptp2] IPCP: Open event
Mar 27 15:23:13 router0 mpd: [pptp2] IPCP: state change Initial --> Starting
Mar 27 15:23:13 router0 mpd: [pptp2] IPCP: LayerStart
Mar 27 15:23:13 router0 mpd: [pptp2] IPCP: Open event
Mar 27 15:23:13 router0 mpd: [pptp2] bundle: OPEN event in state CLOSED
Mar 27 15:23:13 router0 mpd: [pptp2] opening link "pptp2"...
Mar 27 15:23:13 router0 mpd: [pptp2] link: OPEN event
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: Open event
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: state change Initial --> Starting
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: LayerStart
Mar 27 15:23:13 router0 mpd: [pptp2] device: OPEN event in state DOWN
Mar 27 15:23:13 router0 mpd: [pptp2] attaching to peer's outgoing call
Mar 27 15:23:13 router0 mpd: [pptp2] device is now in state OPENING
Mar 27 15:23:13 router0 mpd: [pptp2] device: UP event in state OPENING
Mar 27 15:23:13 router0 mpd: [pptp2] device is now in state UP
Mar 27 15:23:13 router0 mpd: [pptp2] link: UP event
Mar 27 15:23:13 router0 mpd: [pptp2] link: origination is remote
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: Up event
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: state change Starting --> Req-Sent
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: phase shift DEAD --> ESTABLISH
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: SendConfigReq #34
Mar 27 15:23:13 router0 mpd:  ACFCOMP
Mar 27 15:23:13 router0 mpd:  PROTOCOMP
Mar 27 15:23:13 router0 mpd:  MRU 1500
Mar 27 15:23:13 router0 mpd:  MAGICNUM b370c180
Mar 27 15:23:13 router0 mpd:  MP MRRU 1600
Mar 27 15:23:13 router0 mpd:  MP SHORTSEQ
Mar 27 15:23:13 router0 mpd:  ENDPOINTDISC [802.1] 00 14 38 a7 01 44
Mar 27 15:23:13 router0 mpd: pptp0-1: ignoring SetLinkInfo
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
Mar 27 15:23:13 router0 mpd:  MRU 1400
Mar 27 15:23:13 router0 mpd:  MAGICNUM 64ac57e8
Mar 27 15:23:13 router0 mpd:  PROTOCOMP
Mar 27 15:23:13 router0 mpd:  ACFCOMP
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: SendConfigAck #0
Mar 27 15:23:13 router0 mpd:  MRU 1400
Mar 27 15:23:13 router0 mpd:  MAGICNUM 64ac57e8
Mar 27 15:23:13 router0 mpd:  PROTOCOMP
Mar 27 15:23:13 router0 mpd:  ACFCOMP
Mar 27 15:23:13 router0 mpd: [pptp2] LCP: state change Req-Sent --> Ack-Sent
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: SendConfigReq #35
Mar 27 15:23:15 router0 mpd:  ACFCOMP
Mar 27 15:23:15 router0 mpd:  PROTOCOMP
Mar 27 15:23:15 router0 mpd:  MRU 1500
Mar 27 15:23:15 router0 mpd:  MAGICNUM b370c180
Mar 27 15:23:15 router0 mpd:  MP MRRU 1600
Mar 27 15:23:15 router0 mpd:  MP SHORTSEQ
Mar 27 15:23:15 router0 mpd:  ENDPOINTDISC [802.1] 00 14 38 a7 01 44
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: rec'd Configure Reject #35 link 0 (Ack-Sent)
Mar 27 15:23:15 router0 mpd:  MP MRRU 1600
Mar 27 15:23:15 router0 mpd:  MP SHORTSEQ
Mar 27 15:23:15 router0 mpd:  ENDPOINTDISC [802.1] 00 14 38 a7 01 44
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: SendConfigReq #36
Mar 27 15:23:15 router0 mpd:  ACFCOMP
Mar 27 15:23:15 router0 mpd:  PROTOCOMP
Mar 27 15:23:15 router0 mpd:  MRU 1500
Mar 27 15:23:15 router0 mpd:  MAGICNUM b370c180
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: rec'd Configure Ack #36 link 0 (Ack-Sent)
Mar 27 15:23:15 router0 mpd:  ACFCOMP
Mar 27 15:23:15 router0 mpd:  PROTOCOMP
Mar 27 15:23:15 router0 mpd:  MRU 1500
Mar 27 15:23:15 router0 mpd:  MAGICNUM b370c180
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: state change Ack-Sent --> Opened
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: phase shift ESTABLISH --> AUTHENTICATE
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: auth: peer wants nothing, I want nothing
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: authorization successful
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: phase shift AUTHENTICATE --> NETWORK
Mar 27 15:23:15 router0 mpd: [pptp2] setting interface ng1 MTU to 1400 bytes
Mar 27 15:23:15 router0 mpd: [pptp2] up: 1 link, total bandwidth 64000 bps
Mar 27 15:23:15 router0 mpd: [pptp2] IPCP: Up event
Mar 27 15:23:15 router0 mpd: [pptp2] IPCP: state change Starting --> Req-Sent
Mar 27 15:23:15 router0 mpd: [pptp2] IPCP: SendConfigReq #10
Mar 27 15:23:15 router0 mpd:  IPADDR 10.11.12.1
Mar 27 15:23:15 router0 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: LayerUp
Mar 27 15:23:15 router0 mpd: pptp0-1: ignoring SetLinkInfo
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: rec'd Terminate Request #1 link 0 (Opened)
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: state change Opened --> Stopping
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: phase shift NETWORK --> TERMINATE
Mar 27 15:23:15 router0 mpd: [pptp2] setting interface ng1 MTU to 1500 bytes
Mar 27 15:23:15 router0 mpd: [pptp2] up: 0 links, total bandwidth 9600 bps
Mar 27 15:23:15 router0 mpd: [pptp2] IPCP: Down event
Mar 27 15:23:15 router0 mpd: [pptp2] IPCP: state change Req-Sent --> Starting
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: SendTerminateAck #37
Mar 27 15:23:15 router0 mpd: [pptp2] LCP: LayerDown
Mar 27 15:23:15 router0 mpd: pptp0-1: ignoring SetLinkInfo
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: rec'd Terminate Request #2 link 0 (Stopping)
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: SendTerminateAck #38
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: state change Stopping --> Stopped
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: phase shift TERMINATE --> ESTABLISH
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: LayerFinish
Mar 27 15:23:17 router0 mpd: [pptp2] device: CLOSE event in state UP
Mar 27 15:23:17 router0 mpd: pptp0-1: clearing call
Mar 27 15:23:17 router0 mpd: pptp0-1: killing channel
Mar 27 15:23:17 router0 mpd: [pptp2] PPTP call terminated
Mar 27 15:23:17 router0 mpd: [pptp2] IFACE: Close event
Mar 27 15:23:17 router0 mpd: [pptp2] IPCP: Close event
Mar 27 15:23:17 router0 mpd: [pptp2] IPCP: state change Starting --> Initial
Mar 27 15:23:17 router0 mpd: [pptp2] IPCP: LayerFinish
Mar 27 15:23:17 router0 mpd: [pptp2] IFACE: Close event
Mar 27 15:23:17 router0 mpd: [pptp2] IFACE: Close event
Mar 27 15:23:17 router0 mpd: [pptp2] device is now in state CLOSING
Mar 27 15:23:17 router0 mpd: [pptp2] bundle: CLOSE event in state OPENED
Mar 27 15:23:17 router0 mpd: [pptp2] closing link "pptp2"...
Mar 27 15:23:17 router0 mpd: [pptp2] device: DOWN event in state CLOSING
Mar 27 15:23:17 router0 mpd: [pptp2] device is now in state DOWN
Mar 27 15:23:17 router0 mpd: [pptp2] link: CLOSE event
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: Close event
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: state change Stopped --> Closed
Mar 27 15:23:17 router0 mpd: [pptp2] device: DOWN event in state DOWN
Mar 27 15:23:17 router0 mpd: [pptp2] device is now in state DOWN
Mar 27 15:23:17 router0 mpd: [pptp2] link: DOWN event
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: Down event
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: state change Closed --> Initial
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: phase shift ESTABLISH --> DEAD
Mar 27 15:23:17 router0 mpd: [pptp2] link: DOWN event
Mar 27 15:23:17 router0 mpd: [pptp2] LCP: Down event

т.е. сообщение на клиенте Локальный компьютер не поддерживает требуемый тип шифрования данных осталось на этапе Регистрации станции в сети.


"Проблема с mpd"
Отправлено Max , 28-Мрт-06 08:40 
если не помогло убейте там же опцию Расширения LCP
Именно он вам и портит жись

"Проблема с mpd"
Отправлено vmois , 28-Мрт-06 11:29 
>если не помогло убейте там же опцию Расширения LCP
>Именно он вам и портит жись


пробовал убивать еще в первый раз не помогает, что еще можно посмотреть?


"Проблема с mpd"
Отправлено Max , 28-Мрт-06 14:42 
покажите mpd.conf

"Проблема с mpd"
Отправлено vmois , 28-Мрт-06 15:11 
>покажите mpd.conf


mpd.conf

default:
load pptp1
load pptp2
load pptp3

pptp1:
new -i ng0 pptp1 pptp1
set ipcp ranges 10.11.12.1/32 10.11.12.2/32
load pptp_standard

pptp2:
new -i ng1 pptp2 pptp2
set ipcp ranges 10.11.12.1/32 10.11.12.3/32
load pptp_standart

pptp3:
new -i ng2 pptp3 pptp3
set ipcp ranges 10.11.12.1/32 10.11.12.4/32
load pptp_standart

pptp_standard:
set iface disable on-demand
set iface enable proxy-arp
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 ipcp dns 192.168.0.55
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set pptp self 192.168.0.55


"Проблема с mpd"
Отправлено Max , 28-Мрт-06 16:01 
>>покажите mpd.conf
>
>
>mpd.conf
>
>default:
> load pptp1
> load pptp2
> load pptp3
>
>pptp1:
> new -i ng0 pptp1 pptp1
> set ipcp ranges 10.11.12.1/32 10.11.12.2/32
> load pptp_standard
>
>pptp2:
> new -i ng1 pptp2 pptp2
> set ipcp ranges 10.11.12.1/32 10.11.12.3/32
> load pptp_standart
>
>pptp3:
> new -i ng2 pptp3 pptp3
> set ipcp ranges 10.11.12.1/32 10.11.12.4/32
> load pptp_standart
>
>pptp_standard:
> set iface disable on-demand
> set iface enable proxy-arp
> 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 ipcp dns 192.168.0.55
> set bundle enable compression
Добавьте сюда вот это:
  set bundle yes crypt-reqd
> set ccp yes mppc
> set ccp yes mpp-e40
> set ccp yes mpp-e128
> set ccp yes mpp-stateless
> set pptp self 192.168.0.55



"Проблема с mpd"
Отправлено vmois , 28-Мрт-06 16:23 
>>>покажите mpd.conf
>>
>>
>>mpd.conf
>>
>>default:
>> load pptp1
>> load pptp2
>> load pptp3
>>
>>pptp1:
>> new -i ng0 pptp1 pptp1
>> set ipcp ranges 10.11.12.1/32 10.11.12.2/32
>> load pptp_standard
>>
>>pptp2:
>> new -i ng1 pptp2 pptp2
>> set ipcp ranges 10.11.12.1/32 10.11.12.3/32
>> load pptp_standart
>>
>>pptp3:
>> new -i ng2 pptp3 pptp3
>> set ipcp ranges 10.11.12.1/32 10.11.12.4/32
>> load pptp_standart
>>
>>pptp_standard:
>> set iface disable on-demand
>> set iface enable proxy-arp
>> 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 ipcp dns 192.168.0.55
>> set bundle enable compression
>Добавьте сюда вот это:
>  set bundle yes crypt-reqd
>> set ccp yes mppc
>> set ccp yes mpp-e40
>> set ccp yes mpp-e128
>> set ccp yes mpp-stateless
>> set pptp self 192.168.0.55


Добавил эту строчку, как Вы советовали, не помогло (


"Проблема с mpd"
Отправлено vmois , 29-Мрт-06 10:50 
>>>>покажите mpd.conf
>>>
>>>
>>>mpd.conf
>>>
>>>default:
>>> load pptp1
>>> load pptp2
>>> load pptp3
>>>
>>>pptp1:
>>> new -i ng0 pptp1 pptp1
>>> set ipcp ranges 10.11.12.1/32 10.11.12.2/32
>>> load pptp_standard
>>>
>>>pptp2:
>>> new -i ng1 pptp2 pptp2
>>> set ipcp ranges 10.11.12.1/32 10.11.12.3/32
>>> load pptp_standart
>>>

>>>pptp3:
>>> new -i ng2 pptp3 pptp3
>>> set ipcp ranges 10.11.12.1/32 10.11.12.4/32
>>> load pptp_standart
>>>
>>>pptp_standard:
>>> set iface disable on-demand
>>> set iface enable proxy-arp
>>> 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 ipcp dns 192.168.0.55
>>> set bundle enable compression
>>Добавьте сюда вот это:
>>  set bundle yes crypt-reqd
>>> set ccp yes mppc
>>> set ccp yes mpp-e40
>>> set ccp yes mpp-e128
>>> set ccp yes mpp-stateless
>>> set pptp self 192.168.0.55
>
>
>Добавил эту строчку, как Вы советовали, не помогло (

Народ посмотрел внимательно, оказалось сам дурак не увидел, что вместо standard написал standart, сейчас три соединения цепляются нормально.


"Проблема с mpd"
Отправлено TechnoMen , 19-Июл-07 04:04 
Как сделать что при старте MPD, выполнялись команды последовательно?
Мне надо чтоб сначала поднялся PPPoE для adsl модема, и потом VPN, а сейчас получается что обе команды выполняются одновременно поэтому VPN не работает.

Mpd.conf:

Default:
Load PPPoE
Load VPN

vpn:
new vpn vpn
set iface up-script /usr/local/etc/mpd/io-up.sh
set iface idle 5
set iface disable on-demand
set iface idle 0
set iface route default
set bundle disable multilink
set auth authname q
set auth password qq
set link yes acfcomp protocomp
set link no pap
set link mtu 1460
set link keep-alive 10 75
set ipcp yes vjcomp
Open

PPPoE:
new PPPoE PPPoE
set iface route default
set iface disable on-demand
set iface idle 0
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set bundle disable multilink
set auth authname q1
set auth password 1q
set link no acfcomp protocomp
set link disable pap chap
set link accept chap
set link keep-alive 10 60
open

Mpd.log

Jul 16 22:58:05 remap mpd: process 565 started, version 4.2.1 (root@remap.ru 21:
53 8-Jul-2007)
Jul 16 22:58:05 remap mpd: CONSOLE: listening on 0.0.0.0 5005
Jul 16 22:58:05 remap mpd: web: listening on 127.0.0.1 5006
Jul 16 22:58:07 remap mpd: [PPPoE] using interface ng0
Jul 16 22:58:07 remap mpd: PPTP: waiting for connection on 0.0.0.0
Jul 16 22:58:07 remap mpd: [vpn] using interface ng1
Jul 16 22:58:07 remap mpd: [PPPoE] link: OPEN event
Jul 16 22:58:07 remap mpd: [PPPoE] LCP: Open event
Jul 16 22:58:07 remap mpd: [PPPoE] LCP: state change Initial --> Starting
Jul 16 22:58:07 remap mpd: [PPPoE] LCP: LayerStart
Jul 16 22:58:07 remap mpd: [vpn] link: OPEN event
Jul 16 22:58:07 remap mpd: [vpn] LCP: Open event
Jul 16 22:58:07 remap mpd: [vpn] LCP: state change Initial --> Starting
Jul 16 22:58:07 remap mpd: [vpn] LCP: LayerStart
Jul 16 22:58:07 remap mpd: [PPPoE] PPPoE: Connecting to 'whatever'
Jul 16 22:58:07 remap mpd: pptp: connect to UNSPEC 1723 failed: Invalid argument
Jul 16 22:58:07 remap mpd: [vpn] PPTP call failed
Jul 16 22:58:07 remap mpd: [vpn] link: DOWN event
Jul 16 22:58:07 remap mpd: [vpn] LCP: Close event
Jul 16 22:58:07 remap mpd: [vpn] LCP: state change Starting --> Initial
Jul 16 22:58:07 remap mpd: [vpn] LCP: LayerFinish
Jul 16 22:58:07 remap mpd: [vpn] LCP: Down event