Skip to content

Instantly share code, notes, and snippets.

@Lua12138
Created March 13, 2025 10:25
Show Gist options
  • Save Lua12138/c519e5f6390eeb1005bf82378ae4e66c to your computer and use it in GitHub Desktop.
Save Lua12138/c519e5f6390eeb1005bf82378ae4e66c to your computer and use it in GitHub Desktop.
/ip firewall filter
add action=drop chain=input dst-port=2828 \
protocol=tcp src-address-list=!UpnpAllowed
add action=drop chain=input dst-port=1900 log=yes \
protocol=udp src-address-list=!UpnpAllowed
/ip firewall address-list
add address=192.168.88.95 list=UpnpAllowed
add address=192.168.88.94 list=UpnpAllowed
add address=192.168.88.93 list=UpnpAllowed
add address=192.168.88.88 list=UpnpAllowed
add address=192.168.88.91 list=UpnpAllowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment