Mikrotik: L7P - block content

From OnnoWiki
Jump to navigation Jump to search


/ip firewall mangle
add chain=prerouting content=togel \
action=mark-connection new-connection-mark=drop
add chain=prerouting content=porn \
action=mark-connection new-connection-mark=drop
add chain=prerouting content=TOGEL \
action=mark-connection new-connection-mark=drop
/ip firewall filter
add chain=input connection-mark=drop \
action=jump jump-target=drop comment="block content"
add chain=forward connection-mark=drop \
action=jump jump-target=drop
add chain=drop action=log
add chain=drop action=drop