Избитая тема SOLO
Добавлено: 26 окт 2005, 03:19
Ребят помогите разобраться с подключением через vpn.
Есть mandrake 10, локалка с выходом в инет через соловский vpn, IP машине присваивает DHCP серв, Установил ppp и pptp. Вот как производил настройки:
Address Type : Assigned by DHCP
Subnet mask 255.255.255.0
Default getaway 192.168.0.250
-------------------------------------------------------------------------------
~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:22:39:3E:0F
inet addr:192.168.0.24 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250fe39:3e0f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:659 errors:0 dropped:0 overruns:0 frame:0
TX packets:712 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:578770 (565.2 KiB) TX bytes:92361 (90.1 KiB)
Interrupt:18 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:298 errors:0 dropped:0 overruns:0 frame:0
TX packets:298 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19252 (18.8 KiB) TX bytes:19252 (18.8 KiB)
-------------------------------------------------------------------------------
/etc/ppp/options
-------------------
lock
+chap
defaultroute
noauth
-------------------
------------------------------------------------------------------------------
/etc/ppp/chap-secrets:
pq5555vp2 Myl0nglOngpassw0rD
-----------------------------------------------------------------------------
/etc/resolv.conf
-------------------
search
nameserver 195.222.70.10
nameserver 195.222.71.18
-------------------
----------------------------------------------------------------------------
~]# route del default
~]#route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.250 eth0
~]# route add -net 195.222.64.68 netmask 255.255.255.255 gw 192.168.0.250 eth0
~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.222.64.68 192.168.0.250 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 192.168.0.250 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
[root@tadog ~]# pptp 195.222.64.68 nodetach user pqXXXXvp2
/usr/sbin/pppd: The remote system is required to authenticate itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for it to use to do so.
------------------------------------------------------------------------------
~]# ping 195.222.64.68
PING 195.222.64.68 (195.222.64.68) 56(84) bytes of data.
64 bytes from 195.222.64.68: icmp_seq=1 ttl=253 time=18.1 ms
64 bytes from 195.222.64.68: icmp_seq=2 ttl=253 time=25.4 ms
64 bytes from 195.222.64.68: icmp_seq=3 ttl=253 time=18.7 ms
64 bytes from 195.222.64.68: icmp_seq=4 ttl=253 time=18.8 ms
64 bytes from 195.222.64.68: icmp_seq=5 ttl=253 time=18.4 ms
Может кто подскажет что можно сделать. В винде всё работало.
Есть mandrake 10, локалка с выходом в инет через соловский vpn, IP машине присваивает DHCP серв, Установил ppp и pptp. Вот как производил настройки:
Address Type : Assigned by DHCP
Subnet mask 255.255.255.0
Default getaway 192.168.0.250
-------------------------------------------------------------------------------
~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:22:39:3E:0F
inet addr:192.168.0.24 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250fe39:3e0f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:659 errors:0 dropped:0 overruns:0 frame:0
TX packets:712 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:578770 (565.2 KiB) TX bytes:92361 (90.1 KiB)
Interrupt:18 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:298 errors:0 dropped:0 overruns:0 frame:0
TX packets:298 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19252 (18.8 KiB) TX bytes:19252 (18.8 KiB)
-------------------------------------------------------------------------------
/etc/ppp/options
-------------------
lock
+chap
defaultroute
noauth
-------------------
------------------------------------------------------------------------------
/etc/ppp/chap-secrets:
pq5555vp2 Myl0nglOngpassw0rD
-----------------------------------------------------------------------------
/etc/resolv.conf
-------------------
search
nameserver 195.222.70.10
nameserver 195.222.71.18
-------------------
----------------------------------------------------------------------------
~]# route del default
~]#route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.250 eth0
~]# route add -net 195.222.64.68 netmask 255.255.255.255 gw 192.168.0.250 eth0
~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.222.64.68 192.168.0.250 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 192.168.0.250 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
[root@tadog ~]# pptp 195.222.64.68 nodetach user pqXXXXvp2
/usr/sbin/pppd: The remote system is required to authenticate itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for it to use to do so.
------------------------------------------------------------------------------
~]# ping 195.222.64.68
PING 195.222.64.68 (195.222.64.68) 56(84) bytes of data.
64 bytes from 195.222.64.68: icmp_seq=1 ttl=253 time=18.1 ms
64 bytes from 195.222.64.68: icmp_seq=2 ttl=253 time=25.4 ms
64 bytes from 195.222.64.68: icmp_seq=3 ttl=253 time=18.7 ms
64 bytes from 195.222.64.68: icmp_seq=4 ttl=253 time=18.8 ms
64 bytes from 195.222.64.68: icmp_seq=5 ttl=253 time=18.4 ms
Может кто подскажет что можно сделать. В винде всё работало.