Changeset 909 for trunk/Modules/NetworkConfigRouterOS
- Timestamp:
- May 3, 2021, 9:48:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallMangle.php
r892 r909 238 238 $this->ProcessNode($AddressTree); 239 239 240 // Limit direct input/output traffic to gateway 241 $PacketMark = GetMarkByComment('rt-gateway-3-out'); 242 $ItemsFirewall[] = array('chain' => 'output', 'out-interface' => $InetInterface, 'action' => 'mark-packet', 'new-packet-mark' => $PacketMark, 'comment' => 'local-out',); 243 $PacketMark = GetMarkByComment('rt-gateway-3-in'); 244 $ItemsFirewall[] = array('chain' => 'input', 'in-interface' => $InetInterface, 'action' => 'mark-packet', 'new-packet-mark' => $PacketMark, 'comment' => 'local-in',); 245 240 246 // Limited free internet 241 247 $PacketMark = GetMarkByComment('free-out');
Note:
See TracChangeset
for help on using the changeset viewer.