From a9283d43955f1410c134ef0075b95ae5053f2760 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 11 Jul 2005 23:54:01 +0000 Subject: Add no nat option for outgoing nat Ticket #212 --- usr/local/www/firewall_nat_out_edit.php | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index dd47ef7..114f5a1 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -61,6 +61,7 @@ if (isset($id) && $a_out[$id]) { if (!$pconfig['interface']) $pconfig['interface'] = "wan"; $pconfig['descr'] = $a_out[$id]['descr']; + $pconfig['nonat'] = $a_out[$id]['nonat']; } else { $pconfig['source_subnet'] = 24; $pconfig['destination'] = "any"; @@ -247,20 +248,27 @@ function sourcesel_change() { + + + + -- cgit v1.1
No nat (NOT) + > + Enabling this option will disable natting for the item and stop processing outgoing nat rules. +
Hint: in most cases, you'll not use this option unless you know what your doing.
Interface -
+
Choose which interface this rule applies to.
Hint: in most cases, you'll want to use WAN here.