Поставил я тип соединения PPTP на 1.9.2.7-10.
Use DHCP routes? No.
Static Route List пустой.
Имя VPN-сервера прописано символьно.
Соединение установлено! Вот таблица маршрутизации
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
85.21.192.3 10.161.0.1 255.255.255.255 UGH 1 0 0 WAN vlan1
85.21.0.123 10.161.0.1 255.255.255.255 UGH 1 0 0 WAN vlan1
213.234.192.8 10.161.0.1 255.255.255.255 UGH 1 0 0 WAN vlan1
192.168.1.0 * 255.255.255.0 U 0 0 0 LAN br0
10.161.0.0 * 255.255.248.0 U 0 0 0 WAN vlan1
default 85.21.0.123 0.0.0.0 UG 0 0 0 WAN ppp0
default 10.161.0.1 0.0.0.0 UG 1 0 0 WAN vlan1
где
85.21.0.123 - VPN-сервер
85.21.192.3 - DNS-сервер
213.234.192.8 - DNS-сервер
10.161.0.x - пространство локальной сети
А вот кусок лога
Code:
wan: connected manually
kernel: vlan1: Setting MAC address to 00 x x x x x.
kernel: VLAN (vlan1): Underlying device (eth0) has same MAC, ...
udhcpc[236]: udhcpc (v0.9.9-pre) started
dhcp client: deconfig: lease is lost
udhcpc[236]: Lease of 10.161.x.x obtained, lease time 604800
dnsmasq[76]: read /etc/hosts - 5 addresses
dnsmasq[76]: read /etc/ethers - 2 addresses
dnsmasq[76]: reading /tmp/resolv.conf
dnsmasq[76]: using nameserver 85.21.192.3#53
dnsmasq[76]: using nameserver 213.234.192.8#53
dhcp client: bound IP : 10.161.x.x from 10.161.0.1
pppd[246]: pppd 2.4.2 started by avk, uid 0
pppd[246]: Serial connection established.
pppd[246]: Using interface ppp0
pppd[246]: Connect: ppp0 <--> /dev/pts/0
pppd[246]: CHAP authentication succeeded
pppd[246]: local IP address 93.x.x.x
pppd[246]: remote IP address 85.21.0.123
pppd[246]: primary DNS address 213.234.192.7
pppd[246]: secondary DNS address 195.14.50.1
dnsmasq[76]: read /etc/hosts - 5 addresses
dnsmasq[76]: read /etc/ethers - 2 addresses
dnsmasq[76]: reading /tmp/resolv.conf
dnsmasq[76]: using nameserver 195.14.50.1#53
dnsmasq[76]: using nameserver 213.234.192.7#53
PPTP: connect to ISP
Как можно это объяснить? Может не все зависит от прошивки, а кое-что от провайдера?