Приветы всем!
поднят VPN на основе trafd, вот кусочек ifconfig
-------------------------------------------------------------------------
ng0: flags=89d1<UP,POINTOPOINT,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST> mtu 1396
inet 192.168.10.240 --> 192.168.10.2 netmask 0xffffffff
ng1: flags=89d1<UP,POINTOPOINT,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST> mtu 1396
inet 192.168.10.240 --> 192.168.10.1 netmask 0xffffffff
ng2: flags=89d1<UP,POINTOPOINT,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST> mtu 1396
inet 192.168.10.240 --> 192.168.10.4 netmask 0xffffffff
ng3: flags=89d1<UP,POINTOPOINT,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST> mtu 1396
inet 192.168.10.240 --> 192.168.10.9 netmask 0xffffffff
ng4: flags=89d1<UP,POINTOPOINT,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST> mtu 1396
inet 192.168.10.240 --> 192.168.10.5 netmask 0xffffffff
-------------------------------------------------------------------------
как видно под VPN 10 подсеть отводится...
далее смотрю логи, trafd висит на каждом интерфейсе ngX.., и сливается все в 1 ЛОГ
-------------------------------------------------------------------------
192.168.0.4 :8167 :192.168.4.166 :8167 :udp : 792: 1716: 200501250125
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 4085: 4525: 200501250125
192.168.0.11 :8167 :192.168.4.166 :8167 :udp : 704: 1936: 200501250130
192.168.0.4 :8167 :192.168.4.166 :8167 :udp : 1056: 2288: 200501250130
192.168.4.166 : :255.255.255.255 : :udp : 1675: 1775: 200501250130
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 10256: 9953: 200501250130
192.168.0.11 :8167 :192.168.4.166 :8167 :udp : 448: 1232: 200501250135
192.168.0.4 :8167 :192.168.4.166 :8167 :udp : 672: 1456: 200501250135
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 3253: 4093: 200501250135
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 788: 1264: 200501250250
192.168.4.166 :8167 :169.254.105.197 :8167 :udp : 916: 1028: 200501251345
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 599: 1187: 200501251450
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 441: 1029: 200501251455
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 441: 1029: 200501251505
192.168.0.7 :8167 :192.168.4.166 :8167 :udp : 594: 1518: 200501251520
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 693: 1617: 200501251520
192.168.0.7 :8167 :192.168.4.166 :8167 :udp : 468: 1196: 200501251525
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 546: 1274: 200501251525
192.168.4.166 :8167 :255.255.255.255 :8167 :udp : 840: 1288: 200501251600
192.168.0.7 :8167 :192.168.4.166 :8167 :udp : 522: 1334: 200501251605
-------------------------------------------------------------------------
как в ngX интерфейс попали ip:
192.168.0.X --> 192.168.4.166
192.168.4.166 --> 192.168.0.X
???
-------------------------------------------------------------------------
ps -ax|grep trafd
828 ?? Ss 0:19,22 /usr/local/sbin/trafd -i ng4
73643 ?? Ss 0:04,19 /usr/local/sbin/trafd -i ng3
90888 ?? Ss 0:01,20 /usr/local/sbin/trafd -i ng8
91026 ?? Ss 0:01,29 /usr/local/sbin/trafd -i ng9
92709 ?? Ss 0:00,98 /usr/local/sbin/trafd -i ng10
95546 ?? Ss 0:00,74 /usr/local/sbin/trafd -i ng1
96090 ?? Ss 0:00,46 /usr/local/sbin/trafd -i ng0
96840 ?? Ss 0:00,34 /usr/local/sbin/trafd -i ng2
-------------------------------------------------------------------------
не ngX, как тут видно trafd необрабатывает..
Спасибо!