Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2005 23:02:25 +0100
From:      Jon Otterholm <jon.otterholm@ide.resurscentrum.se>
To:        freebsd-pf@freebsd.org
Subject:   PF on router
Message-ID:  <4394B8F1.1020203@ide.resurscentrum.se>

next in thread | raw e-mail | index | archive | help
Hello.

I am setting up a router with a bunch of if's. I will not do any NAT or 
fire walling.

I want to protect the router and it's if's with PF without blocking any 
traffic not destined to the router.

Late tonight I came up with this pf.conf and I would like to have some 
feedback on it

#pf.conf

table <ifips> { xxx.xxx.xxx.xxx }
table <noc> { xxx.xxx.xxx.xxx }

pass in quick proto tcp from <noc> to any port 22 keep state

block out quick from any to <ifips>

pass in all
pass out all


/J



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4394B8F1.1020203>