diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-02-14 00:34:15 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-02-14 00:34:15 +0000 |
commit | 82eea0215ac2ff413289c770827908f3b94c49db (patch) | |
tree | 46482115466c1d8636056f919241835cbb97cc6f /etc | |
parent | b268828298ef9bfdb40cb95864d20e364759912b (diff) |
spamd now uses tables (these load MUCH faster on my ss2); ok deraadt
Diffstat (limited to 'etc')
-rw-r--r-- | etc/pf.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/pf.conf b/etc/pf.conf index 1442fad2a1b..58b75ef87b3 100644 --- a/etc/pf.conf +++ b/etc/pf.conf @@ -1,4 +1,4 @@ -# $OpenBSD: pf.conf,v 1.15 2002/12/30 23:17:54 dhartmei Exp $ +# $OpenBSD: pf.conf,v 1.16 2003/02/14 00:34:14 jason Exp $ # # See pf.conf(5) and /usr/share/pf for syntax and examples. # General order: options, scrub rules, translation rules, and filter rules. @@ -35,9 +35,10 @@ external_addr="192.168.1.1" # outgoing packets will be translated as coming from the external address. #rdr on $ext_if proto tcp from any to $external_addr/32 port 1234 -> 10.1.1.1 port 5678 -# anchor where spamd-setup(8) attaches spam-redirection to spamd(8). +# spamd-setup puts addresses to be redirected into table <spamd> +#table <spamd> persist #no rdr on { lo0, lo1 } from any to any -#rdr-anchor spamd inet proto tcp from any to any port = smtp +#rdr inet proto tcp from { <spamd> } to any port smtp -> 127.0.0.1 port 8025 # filter rules: the implicit first two rules are #pass in all |