Changeset 8398 in genesis


Ignore:
Timestamp:
Aug 26, 2010, 8:37:35 PM (14 years ago)
Author:
richardvm
Message:

Firewall update

File:
1 edited

Legend:

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

    r8397 r8398  
    300300  }
    301301
    302   if ( $inboundnat =~ /yes/i ) {
     302  if ( $nat =~ /yes/i ) {
    303303    $output .= "\n";
    304304    $output .= "# Firewall inbound NAT option\n";
     
    308308    $output .= "gateway_enable=\"YES\"\n";
    309309
    310   }
    311 
    312   if ( $nat =~ /yes/i ) {
    313     $output .= "\n";
    314     $output .= "# Enable nat and stateful firewalling\n";
    315     $output .= "pf_enable=\"YES\"\n";
    316     $output .= "pf_rules=\"/etc/pf.conf\"\n";
    317     $output .= "\n";
    318     $output .= "# Enable routing\n";
    319     $output .= "gateway_enable=\"yes\"\n";
    320310  } else {
    321311    $output .= "\n";
Note: See TracChangeset for help on using the changeset viewer.