From 065c25acb5c3d10f4015b5bfa181445c3bce901a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 22 Aug 2008 13:21:15 -0700 Subject: Partial fix for bug 3332. WLB can now be configured to run without creating implicit source nat rules. This configuration element applies to the complete wan load balance configuration. --- scripts/vyatta-wanloadbalance.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/vyatta-wanloadbalance.pl b/scripts/vyatta-wanloadbalance.pl index b71c54d..9e273c5 100644 --- a/scripts/vyatta-wanloadbalance.pl +++ b/scripts/vyatta-wanloadbalance.pl @@ -24,6 +24,11 @@ sub write_health { my $valid = "false"; + + if ($config->exists("load-balancing wan disable-source-nat")) { + print FILE_LCK "disable-source-nat\n"; + } + $config->setLevel("load-balancing wan interface-health"); my @eths = $config->listNodes(); -- cgit v1.2.3