- Timestamp:
- Aug 26, 2010, 8:37:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/proxy-8.0/wleiden.pl
r8397 r8398 300 300 } 301 301 302 if ( $ inboundnat =~ /yes/i ) {302 if ( $nat =~ /yes/i ) { 303 303 $output .= "\n"; 304 304 $output .= "# Firewall inbound NAT option\n"; … … 308 308 $output .= "gateway_enable=\"YES\"\n"; 309 309 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";320 310 } else { 321 311 $output .= "\n";
Note:
See TracChangeset
for help on using the changeset viewer.