Block URLs at router


#1

Hope this isnt a silly question - but I can't find any way to do this in LuCI.
I want to add the URLs of amazon's update servers to a blacklist so they cant overwrite with new firmware he custom mods I've made to my Firestick.
How can I do this please?


#2

You generally can't block URLs with a firewall, just IP addresses. The information you'll need to move forward is probably:

  • DNS name of the update servers
  • If there is a "hard-wired" update server in case the DNS-specified ones can't be reached
  • DNS name of any servers that the Firestick needs to communicate with for "normal" operation
  • Protocols / ports over which the Firestick communicates, both with the update servers, as well as during normal operation

Depending on the results of that, it may be possible to redirect the DNS for the update process only to an unreachable IP address.


#3

Hi Jeff
I guess what I really want here is to use a parental controls module, which I think is available on the stock WRT1900 but not on OpenWRT..


#4

You can use either adblock or simple-adblock to block domains:

adblock: https://github.com/openwrt/packages/tree/master/net/adblock/files
simple-adblock: https://github.com/openwrt/packages/tree/master/net/simple-adblock/files


#5

Another package that looks very full-featured and mature is