mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add spammers table
This commit is contained in:
parent
2c21de5707
commit
aa04e60bfb
@ -546,6 +546,7 @@ function filter_nat_rules_generate() {
|
||||
/* is SPAMD insalled? */
|
||||
if (is_package_installed("spamd") == 1) {
|
||||
$natrules .= "\n# spam table \n";
|
||||
$natrules .= "table <spammers> persist\n";
|
||||
$natrules .= "table <spamd> persist\n";
|
||||
$natrules .= "table <spamd-white> persist\n";
|
||||
$natrules .= "rdr pass on {$wanif} proto tcp from <spamd> to port smtp -> 127.0.0.1 port spamd\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user