Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Bouni/4405ead83596aa0d8581b7abdcaa247c to your computer and use it in GitHub Desktop.
Save Bouni/4405ead83596aa0d8581b7abdcaa247c to your computer and use it in GitHub Desktop.
Mikrotik RouterOS: Block DNS lookups for names containing "samsung"
/ip firewall filter add
chain=input
action=drop
comment="deny DNS resolution containing 'samsung' from SmartTV"
protocol=udp dst-port=53
content="samsung"
src-mac-address=<smartv-mac-addr>
/ip firewall filter add
chain=forward
action=drop
comment="deny DNS resolution containing 'samsung' from SmartTV"
protocol=udp dst-port=53
content="samsung"
src-mac-address=<smartv-mac-addr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment