LINUX.ORG.RU
ФорумAdmin

VPN


0

1

при подключении VPN принги проходят всюду, а вот большинство сайтов не открывается, в чем может быть проблема ?

pty "pptp vpn.solo.by --nolaunchpppd --nobuffer"
remotename pptp
user 123
password "321"
linkname adsl
lock
usepeerdns
nodeflate
nobsdcomp
noauth
nopcomp
noaccomp
logfile /var/log/ppp/vpnlog

в логах вроде все нормально

using channel 21
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x933c8d3c>]
rcvd [LCP ConfReq id=0x1 <mru 1464> <auth chap MD5> <magic 0xc0c948fa>]
sent [LCP ConfAck id=0x1 <mru 1464> <auth chap MD5> <magic 0xc0c948fa>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x933c8d3c>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x933c8d3c>]
rcvd [CHAP Challenge id=0x1 <91347e848f466c51e9c9c3c195fe9242>, name = "bras2-solo"]
sent [CHAP Response id=0x1 <d5699b6d5c76d4e0c97a32b2bebc4d2c>, name = "411564st1"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 195.222.71.242>]
sent [IPCP ConfAck id=0x1 <addr 195.222.71.242>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 46.182.50.84> <ms-dns1 195.222.64.67> <ms-dns2 195.222.70.10>]
sent [IPCP ConfReq id=0x3 <addr 46.182.50.84> <ms-dns1 195.222.64.67> <ms-dns2 195.222.70.10>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 195.222.64.67> <ms-dns2 195.222.70.10>]
sent [IPCP ConfReq id=0x4 <addr 46.182.50.84> <ms-dns1 195.222.64.67> <ms-dns2 195.222.70.10>]
rcvd [IPCP ConfAck id=0x4 <addr 46.182.50.84> <ms-dns1 195.222.64.67> <ms-dns2 195.222.70.10>]
local  IP address 46.182.50.84
remote IP address 195.222.71.242
primary   DNS address 195.222.64.67
secondary DNS address 195.222.70.10
Script /etc/ppp/ip-up started (pid 3327)
Script /etc/ppp/ip-up finished (pid 3327), status = 0x0
Terminating on signal 2
Connect time 0.1 minutes.
Sent 142 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 3330)
sent [LCP TermReq id=0x2 "User request"]
Script pptp vpn.solo.by --nolaunchpppd --nobuffer finished (pid 3318), status = 0x0
Modem hangup
Connection terminated.
Waiting for 1 child processes...
  script /etc/ppp/ip-down, pid 3330
Script /etc/ppp/ip-down finished (pid 3330), status = 0x0 

кто мне подскажет в чем может быть проблема??? где я не досмотрел или затупил?

С какой именно ошибкой не открываются сайты? И какие именно сайты? Пробовал заходить и по http и по https? Что говорит ping на сервера этих сайтов? А tracepath/traceroute?

Предположение: проблема может быть в MTU.

Deleted
()
Последнее исправление: Deleted (всего исправлений: 1)
Ответ на: комментарий от BaBL
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:66:22:EC:3E
          inet addr:10.44.96.31  Bcast:10.44.96.255  Mask:255.255.255.0
          inet6 addr: fe80::219:66ff:fe22:ec3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6060 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7253 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2294841 (2.1 MiB)  TX bytes:1101894 (1.0 MiB)
          Interrupt:28 Base address:0xc000

eth1      Link encap:Ethernet  HWaddr 94:0C:6D:84:2B:CF
          inet addr:172.1.0.1  Bcast:172.1.255.255  Mask:255.255.0.0
          inet6 addr: fe80::960c:6dff:fe84:2bcf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10775 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1644249 (1.5 MiB)  TX bytes:3033206 (2.8 MiB)
          Interrupt:27

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:70 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6824 (6.6 KiB)  TX bytes:6824 (6.6 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:46.182.55.59  P-t-P:195.222.71.252  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1464  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:80 (80.0 b)  TX bytes:104 (104.0 b)
cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search telecom.by. local
nameserver 195.222.70.10
nameserver 195.222.64.67
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
195.222.71.252  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
213.184.224.254 10.44.96.1      255.255.255.255 UGH   0      0        0 eth0
10.1.1.6        10.44.96.1      255.255.255.255 UGH   0      0        0 eth0
213.184.225.32  10.44.96.1      255.255.255.224 UG    0      0        0 eth0
10.254.254.0    10.44.96.1      255.255.255.0   UG    0      0        0 eth0
10.44.96.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1
172.1.0.0       0.0.0.0         255.255.0.0     U     0      0        0 eth1
10.0.0.0        10.44.96.1      255.192.0.0     UG    0      0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
0.0.0.0         10.44.96.1      0.0.0.0         UG    0      0        0 eth0
godless
() автор топика
Ответ на: комментарий от godless

ну, во-первых, стоит внимательнее читать что у тебя просят.

прибей вот этот для начала:
0.0.0.0 10.44.96.1 0.0.0.0 UG 0 0 0 eth0

BaBL ★★★★★
()
Ответ на: комментарий от xscrew

если проблема в MTU то мне просто нужно присвоить другое значение в конфиге подключения отличное от того, что у меня показывается по умолчанию (1464)???

godless
() автор топика
Ответ на: комментарий от BaBL

до подключения и после изменения только в маршрутизации

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
213.184.224.254 10.44.96.1      255.255.255.255 UGH   0      0        0 eth0
10.1.1.18       10.44.96.1      255.255.255.255 UGH   0      0        0 eth0
213.184.225.32  10.44.96.1      255.255.255.224 UG    0      0        0 eth0
10.254.254.0    10.44.96.1      255.255.255.0   UG    0      0        0 eth0
10.44.96.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1
172.1.0.0       0.0.0.0         255.255.0.0     U     0      0        0 eth1
10.0.0.0        10.44.96.1      255.192.0.0     UG    0      0        0 eth0
0.0.0.0         10.44.96.1      0.0.0.0         UG    0      0        0 eth0

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:66:22:EC:3E
          inet addr:10.44.96.31  Bcast:10.44.96.255  Mask:255.255.255.0
          inet6 addr: fe80::219:66ff:fe22:ec3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1052 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1086 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:217082 (211.9 KiB)  TX bytes:213246 (208.2 KiB)
          Interrupt:28 Base address:0xc000

eth1      Link encap:Ethernet  HWaddr 94:0C:6D:84:2B:CF
          inet addr:172.1.0.1  Bcast:172.1.255.255  Mask:255.255.0.0
          inet6 addr: fe80::960c:6dff:fe84:2bcf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1307 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:217172 (212.0 KiB)  TX bytes:156148 (152.4 KiB)
          Interrupt:27

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

mironov_ivan, сайты просто не открываются, делают вид, что грузятся на белом фоне.

godless
() автор топика
Ответ на: комментарий от godless

удаление этого маршрута ни к чему не привело, все то же самое --> 0.0.0.0 10.44.96.1 0.0.0.0 UG 0 0 0 eth0

godless
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.