Changeset 301 for trunk/system/generators/firewall_nat.php
- Timestamp:
- Dec 31, 2010, 4:56:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/firewall_nat.php
r300 r301 107 107 $Items[] = array('chain' => 'dstnat', 'in-interface' => $LocalInterface, 'action' => 'jump', 'jump-target' => 'local-in', 'comment' => 'local-in'); 108 108 109 /* 109 110 // Route public addresses localy 110 111 $DbResult = $Database->query('SELECT Member.*, Subject.Name FROM Member JOIN Subject ON Member.Subject = Subject.Id'); … … 126 127 127 128 // Map returned local traffic to virtual subnet 128 $Items[] = array('chain' => 'local-out', 'src-address' => '10.145.0.0/16', ' action' => 'netmap', 'to-addresses' => '10.45.0.0-10.45.255.255', 'comment' => 'map-local');129 129 $Items[] = array('chain' => 'local-out', 'src-address' => '10.145.0.0/16', 'dst-address' => '10.145.0.0/16', 'action' => 'netmap', 'to-addresses' => '10.45.0.0-10.45.255.255', 'comment' => 'map-local'); 130 */ 130 131 131 132 //print_r($Items);
Note:
See TracChangeset
for help on using the changeset viewer.