From an article about OpenBSD they had the following lines of rules:
And then from what I use now for FreeBSD, I have:
Which is better? Or can the one for OpenBSD not work on FreeBSD systems?
Code:
set block-policy drop
set skip on lo0
match in all scrub (no-df)
antispoof quick for (egress)
block in quick on egress from { no-route urpf-failed } to any
block in all
pass out quick inet keep state
And then from what I use now for FreeBSD, I have:
Code:
#tcp_services = "{ ssh, smtp, domain, www, pop3, auth, pop3s }"
#udp_services = "{ domain }"
set skip on lo0
scrub in all
block in all
pass out all keep state
Which is better? Or can the one for OpenBSD not work on FreeBSD systems?