diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 03:55:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 03:55:27 +0000 |
commit | 747994604d7b06b797fbab9025426c68eefc96b5 (patch) | |
tree | feee419c014e8b54081e454d9b7c312bd0bc8050 /etc | |
parent | ae3ffcee2f75add9b7f463caacfed26e28671d5d (diff) | |
download | pfsense-747994604d7b06b797fbab9025426c68eefc96b5.zip pfsense-747994604d7b06b797fbab9025426c68eefc96b5.tar.gz |
Woops, thats a table, not anchor
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index b044661..0cca0a7 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -794,6 +794,9 @@ function filter_nat_rules_generate() { } } + $natrules .= "# spam table \n"; + $natrules .= "table \"spamd\" persist\n\n"; + if(!isset($config['system']['disableftpproxy'])) $natrules .= "rdr on " . $lanif . " proto tcp from any to any port 21 -> 127.0.0.1 port 8021\n"; @@ -1098,8 +1101,6 @@ EOD; if (isset($config['interfaces']['wan']['blockpriv'])) { $ipfrules .= <<<EOD -# spamd anchor used by package -anchor "spamd" # block anything from private networks on WAN interface anchor "spoofing" |