WRT

Blocklists for OpenWrt (banIP)

OpenWrt routers block IP ranges with the banIP package on top of nftables.

28compatible lists
2supported formats
10categories

Adding a blocklist to OpenWrt (banIP)

banIP (recommended)

  1. Install the package: opkg update && opkg install banip luci-app-banip
  2. Open LuCI → Services → banIP → Feeds and add a custom feed with the URL below.
  3. Enable the feed and click Save & Apply.
https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt

Manual with nftables

wget -qO /tmp/blocklist.txt "https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt"
nft add set inet fw4 blocklist { type ipv4_addr; flags interval; }
nft -f - <<EOF
$(awk '!/^[#;]/ && NF {print "add element inet fw4 blocklist { " $1 " }"}' /tmp/blocklist.txt)
EOF
nft add rule inet fw4 forward ip saddr @blocklist drop

The address shown above is an example. Every list in the directory has its own URL, which you can copy with one click.

By topic

All 28 lists for OpenWrt (banIP)

Submit a list
28 lists < 7 days < 30 days older

Filter list from the public FilterLists directory. Format: CIDRs (IPv4). See the project homepage for details and inclusion criteria.

Comprehensive IP / CIDR
13 entries
±0 last change
updated
FHIPSMTWRTOPN+3

Filter list from the public FilterLists directory. Format: CIDRs (IPv4). See the project homepage for details and inclusion criteria.

Comprehensive IP / CIDR
3,043 entries
+3 -1 last change
updated
FHIPSMTWRTOPN+3

Filter list from the public FilterLists directory. Format: CIDRs (IPv6). See the project homepage for details and inclusion criteria.

Comprehensive IP / CIDR
157.0k entries
+8 -2 last change
updated
FHIPSMTWRTOPN+3
Page 2 of 2
Scroll to Top