Blocking websites on your router - OpenWrt Forum
forum.openwrt.org › t › blocking-websites-on-yourDec 08, 2018 · I found a tutorial online about how to block websites on your router using ipsets - the guide can be found here (in Polish!) but I'll outline the here too: 1. Install packages # opkg update # opkg remove dnsmasq # opkg install dnsmasq-full ipset 2. Define your ipset in your firewall In your /etc/config/firewall file, create an ipset along the lines of the example below: config ipset option ...
[OpenWrt Wiki] DNS and DHCP examples
openwrt.org › docs › guide-userDec 28, 2021 · Define a custom domain name and the corresponding PTR record - assigns the IPv4 address 192.168.1.23 and IPv6 address fdce::23 to the domain name mylaptop and construct an appropriate reverse records. You can also use this to rebind domain names. The init service merges all entries to an additional hosts file used with the --addn-hosts option.
[OpenWrt Wiki] Parental controls
openwrt.org › docs › guide-userDec 05, 2021 · Follow: Firewall rule to block a site. If a server is running at a single IP or just uses a small set of IPs, blocking these IPs in fw3 is a very efficient way to block this site. It is the quickest and most efficient way of blocking websites and is well supported even in the web interface. Assuming OpenWrt operates with a LAN and WAN zone a filter in the FORWARD chain that rejects packets is enough.