ext_if="em0"
ip="some_ip"
slaves="some_network/27"
scrub in all
block in log all
pass out quick all keep state
#Local
pass in quick on lo0 from any to any keep state
pass in quick on $ext_if from $slaves to $ip keep state
#SSH
pass in on $ext_if proto tcp from any to $ip port 22 keep state
#WWW
pass in on $ext_if proto tcp from any to $ip port 80 keep state
#DNS
pass in on $ext_if proto {tcp,udp} from any to $ip port 53 keep state


Ответ на:
комментарий
от Slavaz

Ответ на:
комментарий
от anonymous

Ответ на:
комментарий
от Slavaz

Ответ на:
комментарий
от anonymous


Ответ на:
комментарий
от paranormal


Ответ на:
комментарий
от Slavaz

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Виноват pf (BSD)? (2006)
- Форум FreeBSD, NAT, PF, SQUID: 21, 80 ==> 3128 (2006)
- Форум подскажите по pf.... (2008)
- Форум FreeBSD настройка PF (2006)
- Форум [pf] помогите с шейпингом трафика (2011)
- Форум Правила для PF (2012)
- Форум FTP и PF (2006)
- Форум PF - настройка (2006)
- Форум OpenBSD 5.1, pf, проброс портов (2012)
- Форум Коллекция портов FreeBSD (2006)