Changeset 8030 in genesis for tools/proxy-8.0/wleiden.pl


Ignore:
Timestamp:
May 25, 2010, 3:31:06 PM (15 years ago)
Author:
rick
Message:

New flag $inboundnat to allow traffic at locallan (ext interface proxy) to go the the WL network, handy when you have a proxy configured within the network and you like to go the WL net as well from there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/proxy-8.0/wleiden.pl

    r8024 r8030  
    300300  }
    301301
     302  if ( $inboundnat =~ /yes/i ) {
     303    $output .= "\n";
     304    $output .= "# Firewall inbound NAT option\n";
     305    $output .= "firewall_enable=\"YES\"\n";
     306    $output .= "firewall_script=\"/etc/ipfw.sh\"\n";
     307    $output .= "firewall_nat_enable=\"YES\"\n";
     308    $output .= "gateway_enable=\"YES\"\n";
     309
     310  }
     311
    302312  return($output);
    303313};
Note: See TracChangeset for help on using the changeset viewer.