diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-11-19 21:40:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-11-19 21:40:14 +0000 |
commit | aebf8c9ac6376e6a108200d2b675ee807b0cd8f2 (patch) | |
tree | f477247f1910bd19f370c3816f0011fe2f4d332f /usr/local | |
parent | dacc4f591fe9abab4a18a6523ed74f0001eb2466 (diff) | |
download | pfsense-aebf8c9ac6376e6a108200d2b675ee807b0cd8f2.zip pfsense-aebf8c9ac6376e6a108200d2b675ee807b0cd8f2.tar.gz |
Add NAT outbound load balancing
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 13 |
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"> |