From 6b3a73985c6c5dce18f9ea70f16cf87bec2d1c5b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 19 Nov 2004 21:54:22 +0000 Subject: Load balancing makes more sense on the outgoing tab --- usr/local/www/firewall_nat.php | 12 +----------- usr/local/www/firewall_nat_out.php | 11 +++++++++-- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index c0ba7e7..806327f 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -58,8 +58,7 @@ if ($_POST) { } } - $pconfig['nat']['enableoutboundloadbalancing'] = $_POST['enableoutboundloadbalancing'] ? true : false; - write_config(); + } @@ -99,15 +98,6 @@ if ($_GET['act'] == "del") {
  • Outbound
  • - - -

    - > - Enable outbound load balancing.


    -

    - - - 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") { +

    + + -

    > Enable advanced outbound NAT
    -

    + > + Enable outbound load balancing.
    +

    +

    Note:
    +

    Note:
    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, -- cgit v1.1