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


Ignore:
Timestamp:
Jan 26, 2010, 1:17:02 PM (15 years ago)
Author:
richardvm
Message:

Added (moved from /etc/rc.conf) de filewall rules. Trac: proxyfactory#11

File:
1 edited

Legend:

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

    r7411 r7430  
    284284    $output .= "\n";
    285285    $output .= "sshtun_enable=\"YES\"\n";
    286     $output .= "sshtun_port=\"22$proxyid\"";
    287   }
     286    $output .= "sshtun_port=\"22$proxyid\"\n";
     287  }
     288
     289  if( $internalif ) {
     290     $output .= "\n";
     291     $output .= "# Firewall needed for NAT\n";
     292     $output .= "firewall_enable=\"YES\"\n";
     293     $output .= "firewall_nat_enable=\"YES\"\n";
     294     $output .= "firewall_nat_interface=\"" . $internalif . "0\"\n";
     295     $output .= "firewall_type=\"OPEN\"\n";
     296  }
     297
     298
     299
     300
    288301  return($output);
    289302};
Note: See TracChangeset for help on using the changeset viewer.