[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

vpn-client



Приветствую.
Поднимаю vpn-клиент. Вроде соединяется, но что-то я вероятно упустил с
роутингом. Что?

==========================
less /etc/ppp/peer/kpst
==========================
pty "pptp vpn.kpst.ru --nolaunchpppd"
name kpst170584
remotename PPTP
# require-mppe-128
file /etc/ppp/options.pptp
persist
ipparam kpst


===========================
$ sudo pon kpst debug dump logfd 2 nodetach
===========================
pppd options in effect:
debug		# (from command line)
nodetach		# (from command line)
persist		# (from /etc/ppp/peers/kpst)
logfd 2		# (from command line)
dump		# (from command line)
noauth		# (from /etc/ppp/options.pptp)
name kpst170584		# (from /etc/ppp/peers/kpst)
remotename PPTP		# (from /etc/ppp/peers/kpst)
		# (from /etc/ppp/options.pptp)
pty pptp vpn.kpst.ru --nolaunchpppd		# (from /etc/ppp/peers/kpst)
crtscts		# (from /etc/ppp/options)
		# (from /etc/ppp/options)
asyncmap 0		# (from /etc/ppp/options)
lcp-echo-failure 4		# (from /etc/ppp/options)
lcp-echo-interval 30		# (from /etc/ppp/options)
hide-password		# (from /etc/ppp/options)
ipparam kpst		# (from /etc/ppp/peers/kpst)
nobsdcomp		# (from /etc/ppp/options.pptp)
nodeflate		# (from /etc/ppp/options.pptp)
noipx		# (from /etc/ppp/options)
using channel 31
Using interface ppp0
Connect: ppp0 <--> /dev/pts/6
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x521ba0b6> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MD5> <mru 1460> <magic 0x5f67752b>]
sent [LCP ConfAck id=0x1 <auth chap MD5> <mru 1460> <magic 0x5f67752b>]
rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <magic 0x521ba0b6>]
rcvd [LCP ConfAck id=0x2 <magic 0x521ba0b6>]
sent [LCP EchoReq id=0x0 magic=0x521ba0b6]
rcvd [CHAP Challenge id=0x1 <ebfc7b33e768eeaf2eded2801f092cb1>, name = "MikroTik"]
sent [CHAP Response id=0x1 <8588d5fd7ad927f02415fb01224dff3e>, name = "kpst170584"]
rcvd [LCP EchoRep id=0x0 magic=0x5f67752b]
rcvd [CHAP Success id=0x1 "Welcome."]
CHAP authentication succeeded: Welcome.
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.0.166>]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.100.2>]
sent [IPCP ConfAck id=0x1 <addr 192.168.100.2>]
rcvd [IPV6CP ConfReq id=0x1 <addr fe80::0000:0000:0000:50d1>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x3 80 57 01 01 00 0e 01 0a 00 00 00 00 00 00 50 d1]
rcvd [proto=0x8281] 01 01 00 04
Unsupported protocol 'MPLSCP' (0x8281) received
sent [LCP ProtRej id=0x4 82 81 01 01 00 04]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 192.168.0.166>]
rcvd [IPCP ConfNak id=0x2 <addr 192.168.151.15>]
sent [IPCP ConfReq id=0x3 <addr 192.168.151.15>]
rcvd [IPCP ConfAck id=0x3 <addr 192.168.151.15>]
local  IP address 192.168.151.15
remote IP address 192.168.100.2
Script /etc/ppp/ip-up started (pid 6742)
Script /etc/ppp/ip-up finished (pid 6742), status = 0x0

=========================
$ netstat -nr
=========================
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.200.11  192.168.51.1    255.255.255.255 UGH       0 0          0 eth3
192.168.100.2   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.200.15  192.168.51.1    255.255.255.255 UGH       0 0          0 eth3
192.168.200.12  192.168.51.1    255.255.255.255 UGH       0 0          0 eth3
192.168.200.3   192.168.51.1    255.255.255.255 UGH       0 0          0 eth3
192.168.200.16  192.168.51.1    255.255.255.255 UGH       0 0          0 eth3
192.168.200.7   192.168.51.1    255.255.255.255 UGH       0 0          0 eth3
192.168.51.0    0.0.0.0         255.255.255.0   U         0 0          0 eth3
0.0.0.0         192.168.51.1    0.0.0.0         UG        0 0          0 eth3



Reply to: