01 December 2009

How to open port 80 (only) on Mikrotik


Script for blocking all port on Mikrotik except port 80

/ip firewall filter

add action=accept chain=forward comment="Established connections" connection-state=established disabled=no

add action=accept chain=forward comment="Related connections" connection-state=related disabled=no

add chain=forward dst-port=80 protocol=tcp action=accept disabled=no

add chain=forward action=drop disabled=no

No comments: