LINUX.ORG.RU

Сообщения Maximum

 

vpn через pptp

Система: Fedora Core 6

Установил кучу пакетов для запуска pptpconfig. Все прописал. Соединился.

ifconfig не показывает ppp0. ping и страницы не открываются(по ip).

В чем может быть проблема?

Адрес моего компа: 10.0.0.252 Адрес VPN-сервера: 10.0.0.254

ifconfig до соединения и после: eth0 Link encap:Ethernet HWaddr 00:80:48:41:0C:74 inet addr:10.0.0.252 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::280:48ff:fe41:c74/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1111 errors:0 dropped:0 overruns:0 frame:0 TX packets:104 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:93798 (91.5 KiB) TX bytes:11552 (11.2 KiB) Interrupt:177

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:2013 errors:0 dropped:0 overruns:0 frame:0 TX packets:2013 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8341192 (7.9 MiB) TX bytes:8341192 (7.9 MiB)

лог pptpconfig при создании тунеля: Using interface ppp0 pptpconfig: monitoring interface ppp0 Connect: ppp0 <--> /dev/pts/2 CHAP authentication succeeded local IP address 172.16.1.8 remote IP address 10.0.0.254 primary DNS address 213.234.2.6 secondary DNS address 213.234.0.2 pptpconfig: pppd process exit status 0 (started) ip route replace 10.0.0.254 dev eth0 src 10.0.0.252 pptpconfig: routes added to remote networks ip route replace default dev 'ppp0' pptpconfig: default route changed to use tunnel pptpconfig: DNS changes made to /etc/resolv.conf pptpconfig: connected

лог pptpconfig при закрытии тунеля: pptpconfig: restoring routing and DNS configuration ip route del 10.0.0.254 dev eth0 src 10.0.0.252 ip route replace RTNETLINK answers: No such device pptpconfig: command failed, exit code 2 mv /etc/resolv.conf.orig.internet /etc/resolv.conf pptpconfig: routing and DNS configuration partly restored

/var/log/messages: Mar 31 10:18:35 GameServer pppd[2881]: pppd 2.4.4 started by root, uid 0 Mar 31 10:18:35 GameServer pptp[2882]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated Mar 31 10:18:35 GameServer pppd[2881]: Using interface ppp0 Mar 31 10:18:35 GameServer pppd[2881]: Connect: ppp0 <--> /dev/pts/2 Mar 31 10:18:35 GameServer pptp[2891]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' Mar 31 10:18:35 GameServer pptp[2891]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply Mar 31 10:18:35 GameServer pptp[2891]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established. Mar 31 10:18:36 GameServer pptp[2891]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' Mar 31 10:18:36 GameServer pptp[2891]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply. Mar 31 10:18:36 GameServer pptp[2891]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 46305). Mar 31 10:18:39 GameServer pppd[2881]: CHAP authentication succeeded Mar 31 10:18:39 GameServer pppd[2881]: local IP address 172.16.1.8 Mar 31 10:18:39 GameServer pppd[2881]: remote IP address 10.0.0.254 Mar 31 10:18:39 GameServer pppd[2881]: primary DNS address 213.234.2.6 Mar 31 10:18:39 GameServer pppd[2881]: secondary DNS address 213.234.0.2 Mar 31 10:18:39 GameServer restorecond: Reset file context /etc/resolv.conf: root:object_r:pppd_etc_t:s0->system_u:object_r:net_conf_t:s0 Mar 31 10:18:39 GameServer pppd[2895]: CCP terminated by peer Mar 31 10:18:39 GameServer pppd[2895]: Compression disabled by peer. Mar 31 10:18:39 GameServer pppd[2895]: LCP terminated by peer Mar 31 10:18:39 GameServer pppd[2895]: Connect time 0.0 minutes. Mar 31 10:18:39 GameServer pppd[2895]: Sent 4 bytes, received 4 bytes. Mar 31 10:18:39 GameServer pptp[2891]: anon log[ctrlp_disp:pptp_ctrl.c:787]: Received Stop Control Connection Request. Mar 31 10:18:39 GameServer pptp[2891]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply' Mar 31 10:18:39 GameServer pptp[2891]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown) Mar 31 10:18:39 GameServer pptp[2891]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' Mar 31 10:18:39 GameServer pptp[2891]: anon log[ctrlp_disp:pptp_ctrl.c:928]: Call disconnect notification received (call id 46305) Mar 31 10:18:39 GameServer pptp[2891]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state) Mar 31 10:18:39 GameServer pppd[2895]: Modem hangup Mar 31 10:18:39 GameServer pppd[2895]: Connection terminated. Mar 31 10:18:44 GameServer pppd[2895]: Exit.

Maximum
()

RSS подписка на новые темы