From 7b47b17c804aa67f27d3c7fb5a166449fe906f2e Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 5 Aug 2010 18:04:57 +0000 Subject: Add self to the automatic nat rules generation so it easies balancing the host traffic itself --- etc/inc/filter.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 063efd6..1edde8b 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1152,8 +1152,8 @@ function filter_nat_rules_generate() { } else { /* standard outbound rules (one for each interface) */ update_filter_reload_status("Creating outbound NAT rules"); - $tonathosts = ""; - $numberofnathosts = 0; + $tonathosts = "self "; + $numberofnathosts = 1; if(is_array($config['staticroutes']['route'])) { foreach ($config['staticroutes']['route'] as $route) { -- cgit v1.1