день добрый!
Может кто сталкивался. Задача такая соединить два офиса по средством mpd5.
Вопрос трудно сформулировать четко, по этому кто с этим боролся подскажите что надо дописать или исправить. На обеих машинах одинаковый конфиг?****************Конфиг*******************
startup:
# configure mpd users
set user foo ***
set user foo1 ***
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 192.168.50.1 5006
set web open
default:
load pptp_vpn
pptp_vpn:
create bundle static B1
set ipcp ranges 192.168.50.1/32 192.168.0.254/32 (шлюзы)
set iface route 192.168.0.0/24
# Enable Microsoft Point-to-Point encryption (MPPE)
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set bundle enable crypt-reqd
set mppc yes stateless
create link static L1 pptp
set link action bundle B1
# Enable both sides to authenticat each other with CHAP
set link no pap
set link yes chap
set auth authname "user"
set auth password "passw"
set link mtu 1460
set link keep-alive 10 75
set link max-redial 0
# Configure PPTP and open link
set pptp self 92.xxx.xxx.xxx
set pptp peer 217.xxx.xxx.xxx
set link enable incoming
open
*****************Логи***************
Sep 24 12:53:08 gw (192.168.0.0/32 с этой подсети) mpd: process 54179 started, version 5.1 (root@gw 04:26 24-сен-2008)
Sep 24 12:53:08 gw mpd: CONSOLE: listening on 127.0.0.1 5005
Sep 24 12:53:08 gw mpd: web: listening on 192.168.50.1 5006
Sep 24 12:53:08 gw mpd: [B1] Bundle: Interface ng0 created
Sep 24 12:53:08 gw mpd: PPTP: waiting for connection on 92.39.133.50 1723
Sep 24 12:53:08 gw mpd: [L1] Link: OPEN event
Sep 24 12:53:08 gw mpd: [L1] LCP: Open event
Sep 24 12:53:08 gw mpd: [L1] LCP: state change Initial --> Starting
Sep 24 12:53:08 gw mpd: [L1] LCP: LayerStart
Sep 24 12:53:08 gw mpd: [L1] PPTP call successful
Sep 24 12:53:08 gw mpd: [L1] Link: UP event
Sep 24 12:53:08 gw mpd: [L1] Link: origination is local
Sep 24 12:53:08 gw mpd: [L1] LCP: Up event
Sep 24 12:53:08 gw mpd: [L1] LCP: state change Starting --> Req-Sent
***
Sep 24 12:53:18 gw mpd: [L1] LCP: SendConfigReq #6
Sep 24 12:53:18 gw mpd: [L1] ACFCOMP
Sep 24 12:53:18 gw mpd: [L1] PROTOCOMP
Sep 24 12:53:18 gw mpd: [L1] ACCMAP 0x000a0000
Sep 24 12:53:18 gw mpd: [L1] MRU 1500
Sep 24 12:53:18 gw mpd: [L1] MAGICNUM 5b1db989
Sep 24 12:53:18 gw mpd: [L1] AUTHPROTO CHAP MSOFTv2
Sep 24 12:53:18 gw mpd: [L1] PPTP call terminated
Sep 24 12:53:18 gw mpd: [L1] Link: DOWN event
Sep 24 12:53:18 gw mpd: [L1] LCP: Down event
Sep 24 12:53:18 gw mpd: [L1] LCP: state change Req-Sent --> Starting
Sep 24 12:53:18 gw mpd: [L1] Link: reconnection attempt 1 in 1 seconds
Sep 24 12:53:19 gw mpd: [L1] Link: reconnection attempt 1
Sep 24 12:53:19 gw mpd: [L1] PPTP call successful
Sep 24 12:53:19 gw mpd: [L1] Link: UP event
Sep 24 12:53:19 gw mpd: [L1] Link: origination is local
Sep 24 12:53:19 gw mpd: [L1] LCP: Up event
Sep 24 12:53:19 gw mpd: [L1] LCP: state change Starting --> Req-Sent
Sep 24 12:53:19 gw mpd: [L1] LCP: SendConfigReq #7
Sep 24 12:53:19 gw mpd: [L1] ACFCOMP
Sep 24 12:53:19 gw mpd: [L1] PROTOCOMP
Sep 24 12:53:19 gw mpd: [L1] ACCMAP 0x000a0000
Sep 24 12:53:19 gw mpd: [L1] MRU 1500
Sep 24 12:53:19 gw mpd: [L1] MAGICNUM f2c2b8f8
Sep 24 12:53:19 gw mpd: [L1] AUTHPROTO CHAP MSOFTv2
Sep 24 12:53:21 gw mpd: [L1] LCP: SendConfigReq #8
Sep 24 12:53:21 gw mpd: [L1] ACFCOMP
Sep 24 12:53:21 gw mpd: [L1] PROTOCOMP
Sep 24 12:53:21 gw mpd: [L1] ACCMAP 0x000a0000
Sep 24 12:53:21 gw mpd: [L1] MRU 1500
Sep 24 12:53:21 gw mpd: [L1] MAGICNUM f2c2b8f8
Sep 24 12:53:21 gw mpd: [L1] AUTHPROTO CHAP MSOFTv2