Mikrotik: Block content / URL

From OnnoWiki
Jump to navigation Jump to search

Filter content

/ip firewall filter add chain=forward content=porn action=drop
/ip firewall filter add chain=forward content=.3gp action=drop


Filter HTTPS traffic

/ip firewall filter
add action=drop chain=forward dst-port=443 in-interface=ether3 protocol=tcp tls-host=*facebook.com*
add action=drop chain=forward dst-port=443 in-interface=ether3 protocol=tcp tls-host=*mikrotik.com*
add action=drop chain=forward dst-port=443 in-interface=ether3 protocol=tcp tls-host=*googlevideo.com*
add action=drop chain=forward dst-port=443 in-interface=ether3 protocol=tcp tls-host=*gmail.com*