Доброго утра (вечера), Господа!Вот поставил себе OpenSuSE 11.2 - пытаюсь настроить VPN вовнутрь сетки своей конторы.
Ничего не выходит. Поставил Kvpnc - соединяется и тут же отваливается.
Лог выглядит так:
debug: Preserving network environment
debug: pppd: /usr/sbin/pppd
debug: pppd peer script: /etc/ppp/peers/kvpnc.Kontora
debug: Authentication method: chap
debug: pppd secrets file: /etc/ppp/chap-secrets
debug: Username: wlgi
debug: pppd: /usr/sbin/pppd
debug: Trying to connect to server "111.222.333.444" with user "vpn"...
debug: Setting DNS_UPDATE "NO".
debug: "pppd" started.
debug: [pppd] Using interface ppp0
debug: [pppd]
debug: [pppd] RTNETLINK answers: File exists
debug: [pppd]
debug: [pppd] Connect: ppp0 /dev/pts/3
debug: [pppd]
debug: [pppd] CHAP authentication succeeded
debug: CHAP authentication succeeded.
debug: [pppd]
debug: [pppd] MPPE 128-bit stateless transmit compression enabled
debug: [pppd]
debug: [pppd] not replacing default route to eth1 [xxx.yyy.zzz.250]
debug: [pppd]
debug: [pppd] local IP address 192.168.0.61
debug: Tunnel IP address: 192.168.0.61
debug: [pppd] remote IP address 192.168.0.60
success: Successful connected to server "111.222.333.444" user: "vpn" at Fri May 21 17:31:43 2010 [PPTP]
success: Connection established.
debug: Tunnel interface IP address: 192.168.0.61
debug: [pppd] CCP terminated by peer
debug: [pppd] Compression disabled by peer.
debug: [pppd] IPCP terminated by peer
debug: [pppd] Connect time 0.0 minutes.
debug: [pppd] Sent 4 bytes, received 8 bytes.
debug: [pppd] LCP terminated by peer
debug: [pppd] Script /usr/sbin/pptp --debug --loglevel 1 111.222.333.444 --nolaunchpppd finished (pid 20890), status = 0x0
debug: [pppd] Modem hangup
debug: [pppd] Script /etc/ppp/ip-up finished (pid 20895), status = 0x0
debug: [pppd]
debug: [pppd] Script /etc/ppp/ip-down finished (pid 21135), status = 0x0
debug: [pppd]
error: Remote modem has hung up. Connection was terminated.
debug: There is a reason to stop connecting, terminating "pppd" process.Ну и ладно.
Создал вручную peer и назвал его vpnСодержимое:
linuxbox:/etc/ppp/peers # cat /etc/ppp/peers/vpn
noipdefault
nodefaultroute
noauth
refuse-pap
nobsdcomp
nodeflate
novj
linkname vpn
user 'vpn'
password 'password'
updetach
mtu 1400
pty 'pptp 111.222.333.444 --nolaunchpppd --loglevel 2'
linuxbox:/etc/ppp/peers #Далее:
linuxbox:/etc/ppp/peers # cat /etc/ppp/options
lock
+chap
nobsdcomp
nodeflate
noaccomp
nopcomp
+mppe-40
+mppe-128
nomppe-stateful
nomppe
mtu 1372
mru 1500
defaultroute
ipcp-accept-local
ipcp-accept-remote
ktune
noauthlinuxbox:/etc/ppp/peers #Пробую запуститься:
linuxbox:/etc/ppp/peers # pppd call vpn
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
MPPE 128-bit stateless transmit compression enabled
local IP address 192.168.0.61
remote IP address 192.168.0.60
linuxbox:/etc/ppp/peers #И на этом все.
Никакого интерфейса в системе типа ppp0 не возникает
Полная тишина.
Что делать - ума не приложу.В надежде на спасение,
Михаил
что в логах сервера?