|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: pf.conf,v 1.10 2002/12/19 00:06:29 deraadt Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: pf.conf,v 1.11 2002/12/21 03:02:40 deraadt Exp $ |
|
|
# |
|
|
# |
|
|
# See pf.conf(5) for syntax and examples |
|
|
# See pf.conf(5) for syntax and examples |
|
|
# General order: options, scrub rules, NAT/rdr, and filter rules. |
|
|
# General order: options, scrub rules, NAT/rdr, and filter rules. |
|
@ -32,5 +32,7 @@ external_addr="192.168.1.1" |
|
|
#pass in on $ext_if proto tcp from any to $ext_if port 22 keep state |
|
|
#pass in on $ext_if proto tcp from any to $ext_if port 22 keep state |
|
|
#pass out on $ext_if proto { tcp, udp } all keep state |
|
|
#pass out on $ext_if proto { tcp, udp } all keep state |
|
|
|
|
|
|
|
|
# anchor to attach spews rules, which will redirect to spewsd(8) |
|
|
|
|
|
#rdr-anchor spews inet proto tcp from any to any port = smtp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# anchor where spamd-setup(8) attaches spam-redirection to spamd(8) |
|
|
|
|
|
#no rdr on { lo0, lo1 } from any to any |
|
|
|
|
|
#rdr-anchor spamd inet proto tcp from any to any port = smtp |