eth0 Link encap:Ethernet HWaddr 00:0A:48:05:F2:1D inet addr:78.139.96.XXX Bcast:78.139.96.127 Mask:255.255.255.128 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:10 Base address:0xf000eth1 Link encap:Ethernet HWaddr 00:02:2A:A0:56:E7 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::202:2aff:fea0:56e7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:297 errors:0 dropped:0 overruns:0 frame:0 TX packets:224 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:31259 (30.5 KiB) TX bytes:28635 (27.9 KiB) Interrupt:12 Base address:0xf400lo 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)ppp0 Link encap:Point-to-Point Protocol inet addr:80.78.104.197 P-t-P:89.107.113.214 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1452 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:40 (40.0 b) TX bytes:46 (46.0 b)
Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface89.107.113.214 0.0.0.0 255.255.255.255 UH 0 0 0 ppp078.139.96.0 0.0.0.0 255.255.255.128 U 0 0 0 eth0192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp00.0.0.0 192.168.0.3 0.0.0.0 UG 1 0 0 eth1
Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Ifacepptp.kamensktel.ru 192.168.0.3 255.255.255.255 UGH 0 0 0 eth189.107.113.214 0.0.0.0 255.255.255.255 UH 0 0 0 ppp078.139.96.0 0.0.0.0 255.255.255.128 U 0 0 0 eth0192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
#!/bin/bashroute add -host 89.107.115.8 gw 192.168.0.3 dev eth1LOG="/var/log/kt-pptp.log" while true; do echo -e "\n========================\n`date`" >> $LOG pppd call kt >> $LOG sleep 10; done
locknoauthrefuse-eaprefuse-chaprefuse-mschapnobsdcompnodeflate#require-mppe-128nodetachuser [b]username[/b]debugmtu 1452mru 1452
# Secrets for authentication using CHAP# client server secret IP addressesusername cisco3640 passcisco3640 username pass
pty "pptp pptp.kamensktel.ru --nolaunchpppd"