Ignore:
Timestamp:
Nov 28, 2008, 9:22:41 AM (16 years ago)
Author:
george
Message:
  • Upraveno: generovacĂ­ PHP skripty.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • system/generators/iptables.php

    r112 r116  
    6060          if($Row['external_ip'] != '')
    6161          {
     62            echo($Row['name'].'='.$Row['external_ip']."\n");
     63           
    6264            exec('/sbin/iptables -t nat -A PreroutingDNAT -i eth1 -d '.$Row['external_ip'].' -j DNAT --to-destination '.$Row['IP']);
    6365            exec('/sbin/iptables -t nat -A PreroutingDNAT -i eth1 -d '.$Row['external_ip'].' -j ACCEPT');
Note: See TracChangeset for help on using the changeset viewer.