Добавлено: 28 окт 2005, 19:04
Hibiky, ну так то и значит, что packet filtred. Сделай tracroute, а лучше - tracepath tut.by/80
Код: Выделить всё
#! /bin/sh
case "$1" in
start)
route add default gw 192.168.10.1
route add -host 195.222.64.68 gw 192.168.10.1
route add -host 195.222.70.10 gw 192.168.10.1
service pptptunnel start
;;
stop)
service pptptunnel stop
;;
restart)
service pptptunnel restart
;;
*)
echo "Usage vpn start|stop|restart"
;;
esac
Код: Выделить всё
#! /bin/sh
case "$1" in
start)
route add 195.222.71.201 gw 10.3.81.7
route del default
pptp 195.222.71.201 nodetach user pqXXXXvp1 remotename SOLO
;;
stop)
killall pptp
route del 195.222.71.201
route add default gw 10.3.81.7
;;
*)
echo "Usage vpn start|stop"
;;
esac
Код: Выделить всё
# pptp 195.222.71.201 --debug nodetach call solo
using channel 31
Using interface ppp0
Connect: ppp0 <--> /dev/pts/8
sent [LCP ConfReq id=0x1 <asyncmap> <magic> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru> <auth> <magic>]
sent [LCP ConfAck id=0x1 <mru> <auth> <magic>]
rcvd [LCP ConfAck id=0x1 <asyncmap> <magic> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x6e45daae]
rcvd [CHAP Challenge id=0x1 <2753d97061598e4455f37bc671bc6fa4>, name = "PE253-254.P254"]
sent [CHAP Response id=0x1 <04b518d2c88b70804deec98ff94e2c54>, name = "MyCoolLogin"]
rcvd [LCP EchoRep id=0x0 magic=0x8da4b2d8]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress> <addr>]
rcvd [IPCP ConfReq id=0x1 <addr>]
sent [IPCP ConfAck id=0x1 <addr>]
rcvd [IPCP ConfRej id=0x1 <compress>]
sent [IPCP ConfReq id=0x2 <addr>]
rcvd [IPCP ConfNak id=0x2 <addr>]
sent [IPCP ConfReq id=0x3 <addr>]
rcvd [IPCP ConfAck id=0x3 <addr>]
local IP address 192.168.250.11
remote IP address 192.168.248.1
Script /etc/ppp/ip-up started (pid 5844)
Script /etc/ppp/ip-up finished (pid 5844), status = 0x0
Terminating on signal 15
Connect time 1.4 minutes.
Sent 132034 bytes, received 437719 bytes.
Script /etc/ppp/ip-down started (pid 5989)
sent [LCP TermReq id=0x2 "User request"]
Script /etc/ppp/ip-down finished (pid 5989), status = 0x0
Modem hangup
Connection terminated.