summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-26 03:55:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-26 03:55:27 +0000
commit747994604d7b06b797fbab9025426c68eefc96b5 (patch)
treefeee419c014e8b54081e454d9b7c312bd0bc8050 /etc
parentae3ffcee2f75add9b7f463caacfed26e28671d5d (diff)
downloadpfsense-747994604d7b06b797fbab9025426c68eefc96b5.zip
pfsense-747994604d7b06b797fbab9025426c68eefc96b5.tar.gz
Woops, thats a table, not anchor
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc5
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"
OpenPOWER on IntegriCloud