- Timestamp:
- Dec 31, 2020, 11:47:45 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallMangle.php
r887 r892 82 82 // Process users 83 83 $DbResult = $this->System->Database->query('SELECT `Member`.*, `Subject`.`Name` FROM `Member` '. 84 85 84 'LEFT JOIN `Subject` ON `Subject`.`Id` = `Member`.`Subject` '. 85 'WHERE `Member`.`Blocked` = 0'); 86 86 while ($Member = $DbResult->fetch_assoc()) 87 87 { … … 133 133 $this->ProcessNode($AddressTree); 134 134 135 // Limit direct input/output traffic to gateway 136 $PacketMark = GetMarkByComment('rt-gateway-3-out'); 137 $ItemsFirewall[] = array('chain' => 'output', 'out-interface' => $InetInterface, 'action' => 'mark-packet', 'new-packet-mark' => $PacketMark, 'comment' => 'local-out',); 138 $PacketMark = GetMarkByComment('rt-gateway-3-in'); 139 $ItemsFirewall[] = array('chain' => 'input', 'in-interface' => $InetInterface, 'action' => 'mark-packet', 'new-packet-mark' => $PacketMark, 'comment' => 'local-in',); 140 135 141 // Limited free internet 136 142 $PacketMark = GetMarkByComment('free-out');
Note:
See TracChangeset
for help on using the changeset viewer.