Advertisement
eenpahlefi

Default-Firewall-Filter

Jul 28th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. /ip firewall filter
  2. add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
  3. add action=accept chain=input comment="defconf: accept ICMP" dst-port=8291 protocol=tcp
  4. add action=accept chain=input comment="defconf: accept ICMP" dst-port=8291 protocol=udp
  5. add action=accept chain=input comment="defconf: accept established,related" connection-state=established,related
  6. add action=drop chain=input comment="defconf: drop all from WAN" in-interface="pppoe-out1"
  7. add action=accept chain=forward comment="defconf: accept established,related" connection-state=established,related
  8. add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
  9. add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface="pppoe-out1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement