Changeset 116
- Timestamp:
- Nov 28, 2008, 9:22:41 AM (16 years ago)
- Location:
- system
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
system/backup/do-backup.php
r112 r116 8 8 if (!is_dir($path)) 9 9 { 10 if (! @mkdir($path,$mode))10 if (!mkdir($path,$mode)) 11 11 { 12 12 mkdirrec(dirname($path),$mode); mkdir($path,$mode); -
system/generators/dns.php
r112 r116 201 201 "\t\t\t".$RetryTime."\t; retry\n". 202 202 "\t\t\t".$ExpireTime."\t; expire\n". 203 "\t\t\t86400\t; ttl\n". 203 204 "\t\t\t)\n". 204 205 "\t\t\tTXT\t".'"Community network ZdechovNET"'."\n". -
system/generators/iptables.php
r112 r116 60 60 if($Row['external_ip'] != '') 61 61 { 62 echo($Row['name'].'='.$Row['external_ip']."\n"); 63 62 64 exec('/sbin/iptables -t nat -A PreroutingDNAT -i eth1 -d '.$Row['external_ip'].' -j DNAT --to-destination '.$Row['IP']); 63 65 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.