summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-19 21:54:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-19 21:54:22 +0000
commit6b3a73985c6c5dce18f9ea70f16cf87bec2d1c5b (patch)
tree535e99c905d051e1376346953a17e5dddf665506 /usr/local/www/firewall_nat_out.php
parentbafc1e3f22a9942e91e75f89d409a7a0e80f451b (diff)
downloadpfsense-6b3a73985c6c5dce18f9ea70f16cf87bec2d1c5b.zip
pfsense-6b3a73985c6c5dce18f9ea70f16cf87bec2d1c5b.tar.gz
Load balancing makes more sense on the outgoing tab
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 3b2c046..e78883f 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -42,6 +42,7 @@ if ($_POST) {
$pconfig = $_POST;
$config['nat']['advancedoutbound']['enable'] = ($_POST['enable']) ? true : false;
+ $pconfig['nat']['enableoutboundloadbalancing'] = $_POST['enableoutboundloadbalancing'] ? true : false;
write_config();
$retval = 0;
@@ -103,14 +104,20 @@ if ($_GET['act'] == "del") {
<td class="vtable"><p>
<input name="enable" type="checkbox" id="enable" value="yes" <?php if (isset($config['nat']['advancedoutbound']['enable'])) echo "checked";?>>
<strong>Enable advanced outbound NAT<br>
- </strong></p></td>
+ </strong></p>
+ </td>
+ <td class="vtable"><p>
+ <input name="enableoutboundloadbalancing" type="checkbox" id="enableoutboundloadbalancing" value="yes" <?php if ($pconfig['enableoutboundloadbalancing'] == "yes") echo "checked";?>>
+ <strong>Enable outbound load balancing.<br>
+ </strong></p>
+ </td>
</tr>
<tr>
<td> <input name="submit" type="submit" class="formbtn" value="Save">
</td>
</tr>
<tr>
- <td><p><span class="vexpl"><span class="red"><strong>Note:<br>
+ <td colspan="2"><p><span class="vexpl"><span class="red"><strong>Note:<br>
</strong></span>If advanced outbound NAT is enabled, no outbound NAT
rules will be automatically generated anymore. Instead, only the mappings
you specify below will be used. With advanced outbound NAT disabled,
OpenPOWER on IntegriCloud