summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-19 21:40:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-19 21:40:14 +0000
commitaebf8c9ac6376e6a108200d2b675ee807b0cd8f2 (patch)
treef477247f1910bd19f370c3816f0011fe2f4d332f /usr/local/www/firewall_nat.php
parentdacc4f591fe9abab4a18a6523ed74f0001eb2466 (diff)
downloadpfsense-aebf8c9ac6376e6a108200d2b675ee807b0cd8f2.zip
pfsense-aebf8c9ac6376e6a108200d2b675ee807b0cd8f2.tar.gz
Add NAT outbound load balancing
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-xusr/local/www/firewall_nat.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index 705ffb3..c0ba7e7 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -57,6 +57,10 @@ if ($_POST) {
unlink($d_filterconfdirty_path);
}
}
+
+ $pconfig['nat']['enableoutboundloadbalancing'] = $_POST['enableoutboundloadbalancing'] ? true : false;
+ write_config();
+
}
if ($_GET['act'] == "del") {
@@ -95,6 +99,15 @@ if ($_GET['act'] == "del") {
<li class="tabinact"><a href="firewall_nat_out.php">Outbound</a></li>
</ul>
</td></tr>
+
+ <tr>
+ <td class="tabcont"><p><span class="vexpl"> </span>
+ <input name="enableoutboundloadbalancing" type="checkbox" id="enableoutboundloadbalancing" value="yes" <?php if ($pconfig['enableoutboundloadbalancing'] == "yes") echo "checked";?>>
+ <strong>Enable outbound load balancing.<hr>
+ </strong></p><input name="submit" type="submit" class="formbtn" value="Save">
+ </td>
+ </tr>
+
<tr>
<td class="tabcont">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
OpenPOWER on IntegriCloud