Добрый деньСижу битый час, не понимаю логики и вообще ничего не понимаю уже.
Переходим к новому провайдеру, он выдал настройки, подключаемся через VPN PPTP. Не могу настроить (, делаю:
# pptp 10.0.0.254 vpn
/bin/ip: not found
/bin/ip: not found
anon warn[open_inetsock:pptp_callmgr.c:329]: connect: Operation timed out
anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.0.0.254
anon fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
anon fatal[main:pptp.c:357]: Child process died
cat /var/log/message
Dec 23 13:40:19 contractstroy pptp[23167]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Dec 23 13:41:34 contractstroy pptp[23169]: anon warn[open_inetsock:pptp_callmgr.c:329]: connect: Operation timed out
Dec 23 13:41:34 contractstroy pptp[23169]: anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 10.0.0.254
Dec 23 13:41:34 contractstroy pptp[23168]: anon fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
Dec 23 13:41:34 contractstroy pptp[23167]: anon fatal[main:pptp.c:357]: Child process died
# cat /etc/ppp/ppp.conf
vpn:
set device "!/usr/local/sbin/pptp 10.0.0.254 --nolaunchpppd --loglevel 2"
set log Phase LCP IPCP CCP tun command
disable ipv6cp
disable acfcomp
disable protocomp
set mtu max 1492
disable lqr
disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
deny pred1 deflate deflate24 protocomp acfcomp shortseq vj
disable mppe
#enable dns
set openmode passive
delete ALL
alias enable yes
nat enable yes
set authname name
set authkey password
set timeout 0
set ifaddr 0 0
set dial
set login
add default HISADDR
# cat /etc/rc.conf
hostname="contractstroy.local"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
gateway_enable="YES"
defaultrouter="192.168.1.1"
ifconfig_rl0="inet 192.168.1.250/24"
# ifconfig
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:13:d4:06:aa:43
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (10baseT/UTP <half-duplex>)
status: active
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2008<VLAN_MTU,WOL_MAGIC>
ether 00:c0:df:09:67:3f
inet 192.168.1.250 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::2c0:dfff:fe09:673f%rl0 prefixlen 64 scopeid 0x7
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
# netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGS 0 5269 rl0
localhost link#9 UH 0 0 lo0
192.168.1.0 link#7 U 0 16527 rl0
192.168.1.250 link#7 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
:: localhost UGRS lo0
localhost link#9 UH lo0
::ffff:0.0.0.0 localhost UGRS lo0
fe80:: localhost UGRS lo0
fe80::%rl0 link#7 U rl0
fe80::2c0:dfff:fe0 link#7 UHS lo0
fe80::%lo0 link#9 U lo0
fe80::1%lo0 link#9 UHS lo0
ff01::%rl0 fe80::2c0:dfff:fe0 U rl0
ff01::%lo0 localhost U lo0
ff02:: localhost UGRS lo0
ff02::%rl0 fe80::2c0:dfff:fe0 U rl0
ff02::%lo0 localhost U lo0
# uname -a
FreeBSD contractstroy.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64