Код: Выделить всё
FreeBSD 7.0-RELEASE
Код: Выделить всё
default:
load vpn
vpn:
new -i ng0 vpn vpn
set bundle authname "LOGIN"
set bundle password "PASSWORD"
set bundle yes compression
set iface idle 0
set iface enable tcpmssfix
set iface up-script UP_SCRIPT
set iface down-script DOWN_SCRIPT
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set link mtu 1500
set link keep-alive 5 30
set ccp yes mppc mpp-e128 mpp-stateless
open
Код: Выделить всё
/etc/>/usr/local/etc/rc.d/mpd start
Starting mpd.
/etc/>ps ax | grep mpd
2560 ?? Ss 0:00,02 /usr/local/sbin/mpd -b
Код: Выделить всё
/etc/>ifconfig -a
......................................
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1500
inet 213.234.18.146 --> 213.234.18.30 netmask 0xffffffff
вот таблица маршрутизации
Код: Выделить всё
/etc/>netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 213.234.18.30 UGS 0 7829 ng0
10 10.26.4.1 UGS 0 453873 rl0
10.26.4/22 link#1 UC 0 0 rl0
10.26.4.1 00:e0:16:76:d2:87 UHLW 9 0 rl0 1200
10.26.4.139 00:14:2a:a0:a3:3b UHLW 1 0 rl0 963
10.26.4.228 00:1d:60:80:52:7b UHLW 1 0 rl0 917
10.26.4.236 00:1d:60:46:95:83 UHLW 1 0 rl0 919
77.87.64/21 10.26.4.1 UGS 0 0 rl0
80.69.155/24 10.26.4.1 UGS 0 0 rl0
85.159.224/24 10.26.4.1 UGS 0 0 rl0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.1 192.168.1.1 UGS 0 0 gif5
192.168.1.1 192.168.0.2 UH 1 11604 gif5
192.168.3 192.168.3.16 UGS 0 0 gif4
192.168.3.16 192.168.0.2 UH 1 0 gif4
192.168.16/20 10.26.4.1 UGS 0 0 rl0
192.168.32/19 10.26.4.1 UGS 0 0 rl0
192.168.120 192.168.120.254 UGS 0 0 gif3
192.168.120.254 192.168.0.2 UH 1 0 gif3
195.160.244/22 10.26.4.1 UGS 0 0 rl0
195.245.211 10.26.4.1 UGS 0 0 rl0
213.234.18.30 213.234.18.146 UH 1 0 ng0
213.234.18.146 lo0 UHS 0 0 lo0
Код: Выделить всё
/etc/>ping www.google.ru
ping: cannot resolve www.google.ru: Host name lookup failure
/etc/>
Код: Выделить всё
/etc/>nslookup google.ru
Server: 10.200.200.13
Address: 10.200.200.13#53
** server can't find google.ru: SERVFAIL
Код: Выделить всё
/etc/>cat resolv.conf
nameserver 10.200.200.13
nameserver 10.200.200.2
где я ошибся????
