"Возможно ваш маршрутизатор не поддерживает IP-фрагменты, функции ограничены....."
Конфиг FREEBSD :
pf:
Код: Выделить всё
nat on ng0 from 192.168.10.0/24 to any -> ng0
pass all
ng0 - внешний интерфейс, pptp через mpd5.
em0 - внутренний интерфейс
Код: Выделить всё
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:1c:c0:c3:91:09
inet ...... netmask 0xfffff800 broadcast .....
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:1b:21:0c:76:e3
inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33200
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet ....... --> ....... netmask 0xffffffff
tcpdump на ng0 говорит что все ок, на em0 какой-то косяк :startup:
set user foo bar admin
set user foo1 bar1
set console self 127.0.0.1 5005
set console open
set web self 127.0.0.1 5006
set web open
default:
load vpn
vpn:
create bundle static B1
set iface route default
set iface enable tcpmssfix
set iface up-script /usr/local/etc/mpd5/start.sh
set iface down-script /usr/local/etc/mpd5/stop.sh
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 l2tp
set link action bundle B1
set auth authname
set auth password
set link max-redial 0
set link mtu 1500
set link keep-alive 20 75
set l2tp peer vpn.internet.beeline.ru
open
Код: Выделить всё
07:51:32.632275 IP server.domain > 192.168.10.26.55099: 3618 1/0/0 (60)
07:51:32.632844 IP 192.168.10.26.55098 > service.playstation.net.3478: UDP, length 56
07:51:32.733036 IP 192.168.10.26.55098 > service.playstation.net.3478: UDP, length 56
07:51:32.864434 IP service.playstation.net.3478 > 192.168.10.26.55098: UDP, length 80
07:51:32.864836 IP 192.168.10.26.55098 > service.playstation.net.3479: UDP, length 56
07:51:32.964290 IP 192.168.10.26.55098 > service.playstation.net.3479: UDP, length 56
07:51:32.964681 IP service.playstation.net.3478 > 192.168.10.26.55098: UDP, length 80
07:51:33.087329 IP service.playstation.net.3479 > 192.168.10.26.55098: UDP, length 80
07:51:33.087713 IP 192.168.10.26.55098 > service.playstation.net.3479: UDP, length 56
07:51:33.186804 IP service.playstation.net.3479 > 192.168.10.26.55098: UDP, length 80
07:51:33.188157 IP 192.168.10.26.55098 > service.playstation.net.3479: UDP, length 56
07:51:33.317573 IP service.playstation.net.3479 > 192.168.10.26.55098: UDP, length 80
07:51:33.317960 IP 192.168.10.26.55097 > service.playstation.net.3478: UDP, length 56
07:51:33.417062 IP service.playstation.net.3479 > 192.168.10.26.55098: UDP, length 80
07:51:33.418155 IP 192.168.10.26.55097 > service.playstation.net.3478: UDP, length 56
07:51:33.542634 IP service.playstation.net.3478 > 192.168.10.26.55097: UDP, length 80
07:51:33.542960 IP 192.168.10.26.55097 > service.playstation.net.3479: UDP, length 56
07:51:33.642804 IP service.playstation.net.3478 > 192.168.10.26.55097: UDP, length 80
07:51:33.643155 IP 192.168.10.26.55097 > service.playstation.net.3479: UDP, length 56
07:51:33.766811 IP service.playstation.net.3479 > 192.168.10.26.55097: UDP, length 80
07:51:33.767334 IP 192.168.10.26.55097 > service.playstation.net.3479: UDP, length 56
07:51:33.867782 IP 192.168.10.26.55097 > service.playstation.net.3479: UDP, length 56
07:51:33.874577 IP service.playstation.net.3479 > 192.168.10.26.55097: UDP, length 80
07:51:33.999428 IP service.playstation.net.3479 > 192.168.10.26.55097: UDP, length 80
07:51:34.000329 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:34.000368 IP 192.168.10.26 > service.playstation.net: udp
07:51:34.099903 IP service.playstation.net.3479 > 192.168.10.26.55097: UDP, length 80
[b]07:51:34.100149 IP 192.168.10.26 > service.playstation.net: ICMP 192.168.10.26 udp port 55097 unreachable, length 36[/b]
07:51:34.100648 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:34.100684 IP 192.168.10.26 > service.playstation.net: udp
07:51:34.300916 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:34.300960 IP 192.168.10.26 > service.playstation.net: udp
07:51:34.701320 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:34.701378 IP 192.168.10.26 > service.playstation.net: udp
07:51:35.500620 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:35.500679 IP 192.168.10.26 > service.playstation.net: udp
07:51:37.100860 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:37.100942 IP 192.168.10.26 > service.playstation.net: udp
07:51:40.301070 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:40.301134 IP 192.168.10.26 > service.playstation.net: udp
07:51:46.701386 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:46.701458 IP 192.168.10.26 > service.playstation.net: udp
07:51:53.101563 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:53.101637 IP 192.168.10.26 > service.playstation.net: udp
07:51:59.501870 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:51:59.501933 IP 192.168.10.26 > service.playstation.net: udp
07:52:05.902181 IP 192.168.10.26.55096 > service.playstation.net.3478: UDP, length 2108
07:52:05.902255 IP 192.168.10.26 > service.playstation.net: udp
FreeBSD 8.1-RELEASE-p1
На прошлом провайдере с таким же конфигом, но pppoe и MTU 1492 было все ок. Куда копать ?