aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dspam/www/p3scan_rules.php
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-07-15 22:16:04 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-07-15 22:16:04 +0000
commit3eab27426aa39497d87a9fb768fd860f924e10be (patch)
tree729d886e70f6cd07f138bd72cf6308a1908ec9db /packages/dspam/www/p3scan_rules.php
parent5ea99d5d96bb72340cdb7d24e1258cb07b5cdfa1 (diff)
downloadpfsense-packages-3eab27426aa39497d87a9fb768fd860f924e10be.tar.gz
pfsense-packages-3eab27426aa39497d87a9fb768fd860f924e10be.tar.bz2
pfsense-packages-3eab27426aa39497d87a9fb768fd860f924e10be.zip
- initial version of the DSPAM package
Diffstat (limited to 'packages/dspam/www/p3scan_rules.php')
-rw-r--r--packages/dspam/www/p3scan_rules.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/dspam/www/p3scan_rules.php b/packages/dspam/www/p3scan_rules.php
new file mode 100644
index 00000000..487cb57d
--- /dev/null
+++ b/packages/dspam/www/p3scan_rules.php
@@ -0,0 +1,12 @@
+/*
+ p3scan_rules.inc
+ part of pfSense (www.pfSense.com)
+ Copyright (C) 2006 Daniel S. Haischt
+ All rights reserved.
+
+*/
+$wanif = get_real_wan_interface();
+$anchor = "natearly";
+$natrules .= "rdr pass on {$wanif} proto tcp from <p3scan> to port pop3 -> 127.0.0.1 port 8110\n";
+$label = "p3scan";
+add_rule_to_anchor($anchor, $rule, $label);