#1 11.12.07 23:29
[vpn] Проблемы при подключении к сети
Люди добрыеб, помогите :) Третий день массажирую себе моск - пытаюсь подцепиться из-под Мандривы к хостеловской VPN-сетке. Проблема в том, что тунель подымается ( по средствам мегапрожки pptp-php-gtk ), но в сеть я выйти один чёрт не могу: тупо не идёт пинг до нового шлюза :( Настройки примерно следующие:
Код::
[root@efferson ppp]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.0.2.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
217.71.142.8 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
217.71.140.0 0.0.0.0 255.255.252.0 U 10 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
[root@efferson ppp]# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.0.2.2 P-t-P:192.0.2.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1000 Metric:1
RX packets:1194 errors:0 dropped:0 overruns:0 frame:0
TX packets:1409 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:8717 (8.5 KiB) TX bytes:21783 (21.2 KiB)
[root@efferson ppp]# cat /etc/ppp/peers/HostelVPN
# tunnel HostelVPN, written by pptp-php-gtk $Revision: 1.18 $
# name of tunnel, used to select lines in secrets files
remotename HostelVPN
# name of tunnel, used to name /var/run pid file
linkname HostelVPN
# name of tunnel, passed to ip-up scripts
ipparam HostelVPN
# data stream for pppd to use
pty "pptp 217.71.142.8 --nolaunchpppd "
# domain and username, used to select lines in secrets files
name efferson
mppe required
persist
debug dump
# do not require the server to authenticate to our client
noauth
# adopt defaults from the pptp-linux package
file /etc/ppp/options.pptp
# end of tunnel file
[root@efferson ppp]# cat /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
#
#mppe no40
#mppe no56
#mppe no128
mppe required,stateless
# needed for W2K3 anyway
refuse-eap
#
# 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В каком месте йа креведко? :)
Offline
#4 12.12.07 15:42
Re: [vpn] Проблемы при подключении к сети
в /etc/ppp/peers/HostelVPN допиши defaultroute
Offline

