OpnSuSE 10.2 2.6.18.2-34-default. Пытаюсь установить соединение с VPN сервером на MS Win2k, используя пакет pptp
Конфиги [more=/etc/ppp/options.pptp]#
# Lock the port
#
lock
#
# We don't need the tunnel server to authenticate itself
#
noauth
#
# Turn off transmission protocols we know won't be used
#
nobsdcomp
nodeflate
#
# We want MPPE
#
require-mppe
#require-mschap-v2
nomppe-stateful
nobsdcomp
novj
#
# We want a sane mtu/mru
#
mtu 1000
mru 1000
#
# Time this thing out of it goes poof
#
lcp-echo-failure 10
lcp-echo-interval 10[/more]
[more=/etc/ppp/peers/inet]#
# PPTP Tunnel configuration for tunnel inet
# Server IP: 192.168.175.250
#
#
# Tags for CHAP secret selection
#
name linx
remotename PPTP
#
# Include the main PPTP configuration file
#
file /etc/ppp/options.pptp
debug [/more]
[more=Лог подключения]linx:~ # pptp-command start
Unsafe characters in tunnel name /etc/ppp/peers/inet~
Unsafe characters in tunnel name /etc/ppp/peers/inet~
1.) inet
Start a tunnel to which server?: 1
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x96dba3d4> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <auth chap MS-v2> <magic 0x4292333b> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:93.9b.39.76.59.43.45.23.ac.5b.ca.c6.9e.0f.96.fc.00.00.00.00]> < 17 04 0b bc>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 0b bc>]
rcvd [LCP ConfNak id=0x1 <mru 1500>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x96dba3d4> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MS-v2> <magic 0x4292333b> <pcomp> <accomp> <endpoint [local:93.9b.39.76.59.43.45.23.ac.5b.ca.c6.9e.0f.96.fc.00.00.00.00]>]
sent [LCP ConfAck id=0x1 <auth chap MS-v2> <magic 0x4292333b> <pcomp> <accomp> <endpoint [local:93.9b.39.76.59.43.45.23.ac.5b.ca.c6.9e.0f.96.fc.00.00.00.00]>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x96dba3d4> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x96dba3d4]
rcvd [CHAP Challenge id=0x0 <969b32c99c7023adc82624ff41c1c49d>, name = "INTERNETSRV"]
sent [CHAP Response id=0x0 <b7517f55065569c2919c8dcab74de06c0000000000000000ba36e6a520328065b0c8fbe54f0c1056d3645d61acbb2f2300>, name = "linx"]
rcvd [LCP EchoRep id=0x0 magic=0x4292333b]
rcvd [CHAP Success id=0x0 "S=44FA0DCEEFF89B3748501604EA24EEFC7CECF22A"]
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S +L -D -C>]
rcvd [CCP ConfReq id=0x3 <mppe +H +M +S +L -D +C>]
sent [CCP ConfNak id=0x3 <mppe +H -M +S -L -D -C>]
rcvd [IPCP ConfReq id=0x4 <addr 83.234.89.150>]
sent [IPCP TermAck id=0x4]
rcvd [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x5 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x5 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 83.234.89.169>]
sent [IPCP ConfReq id=0x3 <addr 83.234.89.169>]
rcvd [IPCP ConfAck id=0x3 <addr 83.234.89.169>]
rcvd [IPCP ConfReq id=0x6 <addr 83.234.89.150>]
sent [IPCP ConfAck id=0x6 <addr 83.234.89.150>]
local IP address 83.234.89.169
remote IP address 83.234.89.150
Script /etc/ppp/ip-up started (pid 4213)
All routes added.
Tunnel inet is active on ppp0. IP Address: 83.234.89.169
linx:~ # Script ?? finished (pid 4173), status = 0x0
Script /etc/ppp/ip-up finished (pid 4213), status = 0x0
rcvd [LCP TermReq id=0x7 "B\377777776223;\000<\37777777715t\000\000\000\000"]
LCP terminated by peer (BM-^R3;^@<M-Mt^@^@^@^@)
Connect time 0.1 minutes.
Sent 0 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 4303)
sent [LCP TermAck id=0x7]
Script /etc/ppp/ip-down finished (pid 4303), status = 0x0
Connection terminated.
Modem hangup[/more]
интересует почему соединение вроде нормально устанавливается и тут же отключается - запускается скрипт ip-down ?
Конфиги [more=/etc/ppp/options.pptp]#
# Lock the port
#
lock
#
# We don't need the tunnel server to authenticate itself
#
noauth
#
# Turn off transmission protocols we know won't be used
#
nobsdcomp
nodeflate
#
# We want MPPE
#
require-mppe
#require-mschap-v2
nomppe-stateful
nobsdcomp
novj
#
# We want a sane mtu/mru
#
mtu 1000
mru 1000
#
# Time this thing out of it goes poof
#
lcp-echo-failure 10
lcp-echo-interval 10[/more]
[more=/etc/ppp/peers/inet]#
# PPTP Tunnel configuration for tunnel inet
# Server IP: 192.168.175.250
#
#
# Tags for CHAP secret selection
#
name linx
remotename PPTP
#
# Include the main PPTP configuration file
#
file /etc/ppp/options.pptp
debug [/more]
[more=Лог подключения]linx:~ # pptp-command start
Unsafe characters in tunnel name /etc/ppp/peers/inet~
Unsafe characters in tunnel name /etc/ppp/peers/inet~
1.) inet
Start a tunnel to which server?: 1
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <mru 1000> <asyncmap 0x0> <magic 0x96dba3d4> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <auth chap MS-v2> <magic 0x4292333b> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:93.9b.39.76.59.43.45.23.ac.5b.ca.c6.9e.0f.96.fc.00.00.00.00]> < 17 04 0b bc>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 0b bc>]
rcvd [LCP ConfNak id=0x1 <mru 1500>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x96dba3d4> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MS-v2> <magic 0x4292333b> <pcomp> <accomp> <endpoint [local:93.9b.39.76.59.43.45.23.ac.5b.ca.c6.9e.0f.96.fc.00.00.00.00]>]
sent [LCP ConfAck id=0x1 <auth chap MS-v2> <magic 0x4292333b> <pcomp> <accomp> <endpoint [local:93.9b.39.76.59.43.45.23.ac.5b.ca.c6.9e.0f.96.fc.00.00.00.00]>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x96dba3d4> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x96dba3d4]
rcvd [CHAP Challenge id=0x0 <969b32c99c7023adc82624ff41c1c49d>, name = "INTERNETSRV"]
sent [CHAP Response id=0x0 <b7517f55065569c2919c8dcab74de06c0000000000000000ba36e6a520328065b0c8fbe54f0c1056d3645d61acbb2f2300>, name = "linx"]
rcvd [LCP EchoRep id=0x0 magic=0x4292333b]
rcvd [CHAP Success id=0x0 "S=44FA0DCEEFF89B3748501604EA24EEFC7CECF22A"]
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S +L -D -C>]
rcvd [CCP ConfReq id=0x3 <mppe +H +M +S +L -D +C>]
sent [CCP ConfNak id=0x3 <mppe +H -M +S -L -D -C>]
rcvd [IPCP ConfReq id=0x4 <addr 83.234.89.150>]
sent [IPCP TermAck id=0x4]
rcvd [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x5 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x5 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 83.234.89.169>]
sent [IPCP ConfReq id=0x3 <addr 83.234.89.169>]
rcvd [IPCP ConfAck id=0x3 <addr 83.234.89.169>]
rcvd [IPCP ConfReq id=0x6 <addr 83.234.89.150>]
sent [IPCP ConfAck id=0x6 <addr 83.234.89.150>]
local IP address 83.234.89.169
remote IP address 83.234.89.150
Script /etc/ppp/ip-up started (pid 4213)
All routes added.
Tunnel inet is active on ppp0. IP Address: 83.234.89.169
linx:~ # Script ?? finished (pid 4173), status = 0x0
Script /etc/ppp/ip-up finished (pid 4213), status = 0x0
rcvd [LCP TermReq id=0x7 "B\377777776223;\000<\37777777715t\000\000\000\000"]
LCP terminated by peer (BM-^R3;^@<M-Mt^@^@^@^@)
Connect time 0.1 minutes.
Sent 0 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 4303)
sent [LCP TermAck id=0x7]
Script /etc/ppp/ip-down finished (pid 4303), status = 0x0
Connection terminated.
Modem hangup[/more]
интересует почему соединение вроде нормально устанавливается и тут же отключается - запускается скрипт ip-down ?