yrkrus
Member | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору Alukardd Цитата: В принципе можете показать сюда вывод ifconfig и netstat -nr. | ifconfig Код: em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC> ether 38:60:77:2d:f8:dd inet 172.33.0.6 netmask 0xffffff00 broadcast 172.33.0.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE> ether 1c:af:f7:6b:8e:57 inet 62.141.xx.x netmask 0xfffffffc broadcast 62.141.100.11 media: Ethernet autoselect (100baseTX <full-duplex>) status: active ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 options=80000<LINKSTATE> inet 10.8.1.125 --> 10.8.1.126 netmask 0xffffffff Opened by PID 21002 pflog0: flags=41<UP,RUNNING> metric 0 mtu 33200 | netstat Код: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 62.141.xxx.9 UGS 105 1230580 vr0 10.8.0.1/32 10.8.1.126 UGS 0 0 tun0 10.8.1.125 link#5 UHS 0 0 lo0 10.8.1.126 link#5 UH 0 0 tun0 62.141.xx.x/30 link#2 U 0 0 vr0 62.141.xxx.x link#2 UHS 0 0 lo0 127.0.0.1 link#4 UH 0 0 lo0 172.16.0.0/16 10.8.1.126 UGS 0 3354 tun0 172.33.0.0/24 link#1 U 4 632194 em0 172.33.0.6 link#1 UHS 0 0 lo0 | на удаленном прописано: Код: 172.33.0.0/24 10.8.1.125 UGS 0 12552 tun0 | при включенно файрволе tcpdump выдал: Код: gw# tcpdump -i tun0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on tun0, link-type NULL (BSD loopback), capture size 96 bytes 19:02:48.322040 IP 62.141.xxx.x > 172.16.251.16: ICMP echo request, id 2, seq 24040, length 40 19:02:53.194524 IP 62.141.xxx.x > 172.16.251.16: ICMP echo request, id 2, seq 24041, length 40 19:02:58.194260 IP 62.141.xxx.x > 172.16.251.16: ICMP echo request, id 2, seq 24042, length 40 19:03:03.194351 IP 62.141.xxx.x > 172.16.251.16: ICMP echo request, id 2, seq 24043, length 40 19:03:08.195221 IP 62.141.xxx.x > 172.16.251.16: ICMP echo request, id 2, seq 24044, length 40 19:03:13.195365 IP 62.141.xxx.x > 172.16.251.16: ICMP echo request, id 2, seq 24045, length 40 | при выключенном файрволе tcpdump выдал правильно как и нужно: Код: gw# tcpdump -i tun0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on tun0, link-type NULL (BSD loopback), capture size 96 bytes 20:39:04.245247 IP 172.33.0.73 > 172.16.251.16: ICMP echo request, id 1, seq 666, length 40 20:39:09.243442 IP 172.33.0.73 > 172.16.251.16: ICMP echo request, id 1, seq 667, length 40 20:39:14.250452 IP 172.33.0.73 > 172.16.251.16: ICMP echo request, id 1, seq 668, length 40 20:39:19.247752 IP 172.33.0.73 > 172.16.251.16: ICMP echo request, id 1, seq 669, length 40 20:39:24.245297 IP 172.33.0.73 > 172.16.251.16: ICMP echo request, id 1, seq 670, length 40 20:39:29.244580 IP 172.33.0.73 > 172.16.251.16: ICMP echo request, id 1, seq 671, length 40 20:39:56.133296 IP 172.33.0.73 > 172.16.251.16: ICMP echo request, id 1, seq 672, length 40 | Все же возможно в нате дело? | Всего записей: 379 | Зарегистр. 30-11-2010 | Отправлено: 12:33 03-05-2012 | Исправлено: yrkrus, 12:37 03-05-2012 |
|