Стоит задача дать доступ из локальной сети к www и 4000 (icq) портам.
Взял стандартный пример - там строка
nat on $ext_if inet from $int_if:network to any -> ($ext_if)
NAT работает, интернет есть.
Заменил на другую строку
nat on $ext_if inet from $int_if:network to any port www -> ($ext_if)
nat on $ext_if inet from $int_if:network to any port 4000 -> ($ext_if)
Далее команда
pfctl -f /etc/pf.conf
NAT работать перестал, интернета нет, icq нет.
В чем может быть дело?
P.S. Вывод команды fctl -s nat
nat on xl0 inet from 192.168.20.0/24 to any port = www -> (xl0) round-robin
nat on xl0 inet from 192.168.20.0/24 to any port = 4000 -> (xl0) round-robin