|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: pf.conf,v 1.45 2009/09/01 13:51:19 henning Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: pf.conf,v 1.46 2009/09/01 14:45:32 todd Exp $ |
|
|
# |
|
|
# |
|
|
# See pf.conf(5) for syntax and examples; this sample ruleset uses |
|
|
# See pf.conf(5) for syntax and examples; this sample ruleset uses |
|
|
# require-order to permit mixing of NAT/RDR and filter rules. |
|
|
# require-order to permit mixing of NAT/RDR and filter rules. |
|
@ -16,6 +16,14 @@ set skip on lo |
|
|
|
|
|
|
|
|
pass # to establish keep-state |
|
|
pass # to establish keep-state |
|
|
|
|
|
|
|
|
|
|
|
# rules for spamd(8) |
|
|
|
|
|
#table <spamd-white> persist |
|
|
|
|
|
#table <nospamd> persist file "/etc/mail/nospamd" |
|
|
|
|
|
#pass on egress proto tcp from any to any port smtp rdr-to 127.0.0.1 port spamd |
|
|
|
|
|
#pass on egress proto tcp from <nospamd> to any port smtp |
|
|
|
|
|
#pass on egress proto tcp from <spamd-white> to any port smtp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#block in quick from urpf-failed to any # use with care |
|
|
#block in quick from urpf-failed to any # use with care |
|
|
|
|
|
|
|
|
# By default, do not permit remote connections to X11 |
|
|
# By default, do not permit remote connections to X11 |
|
|