Добрый день. Установил сателлит(freebsd 8.0 ipfw pf ipcad mpd5(pppoe)), nocheck.pl показывает всё ок, noserver.pl, тоже всё ок, клиенты авторизуются через радиус и шейпятся, но трафик не передаётся на сервер, думаю, что блокарует фаер, но не могу пока разобраться где и что, просьба помочь новечку.
192.168.222.3 - внешний алрес сателита
192.168.222.2 - адрес ядра с базой
rc.conf
gateway_enable="YES"
firewall_quiet="YES"
keymap="ua.koi8-u.shift.alt"
sshd_enable="YES"
ifconfig_vr0="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_re0="inet 192.168.222.3 netmask 255.255.255.0"
defaultrouter="192.168.222.1"
hostname="dimka.com.gg"
firewall_enable="YES"
fsck_y_enable="YES"
background_fsck="NO"
mpd_enable="YES"
mpd_start="YES"
pf_enable="YES"
ipcad_enable="YES"
ntpdate_enable="YES"
ipwf list
ipfw list
00050 allow tcp from any to me dst-port 22
00051 allow tcp from me 22 to any
00056 allow tcp from me 1812 to any
00057 allow tcp from me 1813 to any
00058 allow tcp from any to me dst-port 1812
00059 allow tcp from any to me dst-port 1813
00060 allow udp from me 1812 to any
00061 allow udp from me 1813 to any
00062 allow udp from any to me dst-port 1812
00063 allow udp from any to me dst-port 1813
00065 allow tcp from 192.168.222.2 to me dst-port 0-65534 - дописывал что с ним что без него
00100 deny tcp from any to any dst-port 445
00110 allow ip from any to any via lo0
00120 skipto 1000 ip from me to any
00130 deny icmp from any to any in icmptypes 5,9,13,14,15,16,17
00140 deny ip from any to table(120)
00150 deny ip from table(120) to any
00160 skipto 2000 ip from any to me
00200 skipto 500 ip from any to any via re0
00300 skipto 4500 ip from any to any in
00400 skipto 450 ip from any to any recv re0
00420 divert 1 ip from any to any
00450 divert 2 ip from any to any
00490 allow ip from any to any
00500 skipto 32500 ip from any to any in
00510 divert 1 ip from any to any
00540 allow ip from any to any
01000 allow udp from any 53,7723 to any
01010 allow tcp from any to any setup keep-state
01020 allow udp from any to any keep-state
01100 allow ip from any to any
02000 check-state
02010 allow icmp from any to any
02020 allow tcp from any to any dst-port 80,443
02050 deny ip from any to any via re0
02060 allow udp from any to any dst-port 53,772
02100 deny ip from any to any
05000 deny ip from not table(0) to any
05001 skipto 5010 ip from table(127) to table(126)
05002 skipto 5030 ip from any to not table(2)
05003 deny ip from any to not table(1)
05004 pipe tablearg ip from table(21) to any
05005 deny ip from any to any
05010 pipe tablearg ip from table(127) to any
05030 deny tcp from table(15) to any dst-port 25
05400 pipe tablearg ip from table(11) to any
32000 deny ip from any to any
32490 deny ip from any to any
33000 pipe tablearg ip from table(126) to table(127)
33001 skipto 33010 ip from not table(2) to any
33002 pipe tablearg ip from any to table(20)
33003 deny ip from any to any
33400 pipe tablearg ip from any to table(10)
65535 deny ip from any to any
pf
set limit states 128000
set optimization aggressive
nat pass on re0 from 10.0.0.0/8 to any -> re0
nat pass on re0 from 192.168.0.0/16 to any -> re0
ifconfig -a
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:24:1d:9c:59:64
inet 192.168.222.3 netmask 0xffffff00 broadcast 192.168.222.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC>
ether 00:19:5b:3e:7d:97
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1480
inet 192.168.222.3 --> 10.0.0.2 netmask 0xffffffff
ipcad.conf
capture-ports disable;
interface divert port 1 netflow-disable;
interface divert port 2 netflow-disable;
interface re0;
rsh enable at 127.0.0.1;
rsh enable at 192.168.222.3;
rsh root@192.168.222.2 admin;
rsh root@127.0.0.1 admin;
rsh ttl = 6;
rsh timeout = 30;
dumpfile = ipcad.dump;
chroot = /tmp;
memory_limit = 50m;
ps aux |grep perl
root 1187 0.0 0.7 8648 6712 0- S< 9:45AM 0:01.96 perl noserver.pl
rsh localhost show ip accounting проходит, видны айпи и трафик
rsh 192.168.222.3 show ip accounting - пусто