- Timestamp:
- May 8, 2019, 8:22:45 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallNAT.php
r781 r860 110 110 111 111 // Accept free-access clients 112 $Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16',113 'src-address-list' => 'free-access', 'in-interface' => $LocalInterface,114 'action' => 'accept', 'comment' => 'Free_access');112 //$Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16', 113 // 'src-address-list' => 'free-access', 'in-interface' => $LocalInterface, 114 // 'action' => 'accept', 'comment' => 'Free_access'); 115 115 // Redirect unregistred clients to free access activation page 116 $Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16',117 'src-address-list' => 'unregistred', 'in-interface' => $LocalInterface, 'protocol' => 'tcp',118 'action' => 'dst-nat', 'to-addresses' => '10.145.64.70', 'to-ports' => 8080, 'comment' => 'Redirect_unregistred');116 //$Items[] = array('chain' => 'dstnat', 'dst-address' => '!10.145.0.0/16', 117 // 'src-address-list' => 'unregistred', 'in-interface' => $LocalInterface, 'protocol' => 'tcp', 118 // 'action' => 'dst-nat', 'to-addresses' => '10.145.64.70', 'to-ports' => 8080, 'comment' => 'Redirect_unregistred'); 119 119 120 120 // Masquerade hosts without public ip
Note:
See TracChangeset
for help on using the changeset viewer.