From 3c5d0ab2b54c497744a54509fb5d3af227c86fa1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 16 Oct 2005 17:36:43 +0000 Subject: MFC 6875 Cleanup HTML Move "source port" to where it really belongs, under Target This should be MFC'd to save questions ;) --- usr/local/www/firewall_nat_out_edit.php | 73 +++++++++++++++++---------------- 1 file changed, 37 insertions(+), 36 deletions(-) (limited to 'usr') diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index f96d967..21df306 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -237,12 +237,10 @@ function sourcesel_change() { case 1: // network document.iform.source.disabled = 0; document.iform.source.disabled = 0; - document.iform.sourceport.disabled = 0; break; default: document.iform.source.value = ""; document.iform.sourceport.value = ""; - document.iform.sourceport.disabled = 1; document.iform.source.disabled = 1; document.iform.source_subnet.value = "24"; document.iform.source_subnet.disabled = 1; @@ -299,25 +297,15 @@ function sourcesel_change() { Address:   /   Enter the source network for the outbound NAT mapping. - - Port:   - - - -   - Enter the source port for the outbound NAT mapping. - @@ -331,9 +319,9 @@ function sourcesel_change() { Type:   @@ -342,11 +330,9 @@ function sourcesel_change() { / @@ -359,26 +345,41 @@ function sourcesel_change() { (leave blank for any) + - Target - - -
+ Target + + + + + + + + + + + + + + +
Address:   +
  Packets matching this rule will be mapped to the IP address given here.
If you want this rule to apply to another IP address than the IP address of the interface chosen above, select it here (you need to define Virtual IP addresses on the first). Also note that if you are trying to redirect connections on the LAN select the "any" option. -
Port:  
  + Enter the source port for the outbound NAT mapping. +
+ Description -- cgit v1.1