summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-06-16 02:58:57 +0000
committerBill Marquette <billm@pfsense.org>2008-06-16 02:58:57 +0000
commit17623ab556ab149f01e10aa587a35816302ee91d (patch)
tree5a6bb1221b068f0375f284e4d179576b6fa45350 /etc/inc/filter.inc
parent0551a3a89ffff608bfd7fffdd940eb4826357ae5 (diff)
downloadpfsense-17623ab556ab149f01e10aa587a35816302ee91d.zip
pfsense-17623ab556ab149f01e10aa587a35816302ee91d.tar.gz
Bring in relayd to perform server load balancing
Move gateway load balancing code into gwlb.inc - still uses slbd TODO: vs and pool status screens are currently broken...and wouldn't work with the gateway pools anyway, ultimately, the gateway pools need to move.
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r--etc/inc/filter.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 0a7ee2b..7265ffb 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -987,6 +987,8 @@ function filter_nat_rules_generate() {
/* load balancer anchor */
$natrules .= "\n# Load balancing anchor - slbd updates\n";
$natrules .= "rdr-anchor \"slb\"\n";
+ $natrules .= "rdr-anchor \"relayd/*\"\n";
+
update_filter_reload_status("Setting up FTP helper");
@@ -2396,6 +2398,9 @@ function filter_rules_generate() {
/* ftp-sesame */
$ipfrules .= "anchor \"ftpsesame/*\" \n";
+ /* relayd */
+ $ipfrules .= "anchor \"relayd/*\"\n";
+
# BEGIN OF firewall rules
$ipfrules .= "anchor \"firewallrules\"\n";
OpenPOWER on IntegriCloud