https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt Open raw list Description
Filter list from the public FilterLists directory. Format: CIDRs (IPv6). See the project homepage for details and inclusion criteria.
Integration
- Go to Firewall → pfBlockerNG → DNSBL → DNSBL Groups (or IP for IP lists).
- Click Add, give the group a name and add the URL below as source (Format: Auto).
- Save, then run Update → Force Reload.
https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt" dst-path=blocklist.rsc
/import blocklist.rsc If the list is a plain text file with one address or CIDR per line, convert it first:
/tool fetch url="https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="Team Cymru Fullbogons (IPv6)"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Team Cymru Fullbogons (IPv6)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Team Cymru Fullbogons (IPv6)" Schedule the fetch with /system scheduler to keep the list current. Very large lists consume RAM, so check the available memory of your device first.
banIP (recommended)
- Install the package:
opkg update && opkg install banip luci-app-banip - Open LuCI → Services → banIP → Feeds and add a custom feed with the URL below.
- 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 ipset create blocklist hash:net -exist
curl -fsSL "https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt" | grep -Eo '^[0-9]{1,3}(.[0-9]{1,3}){3}(/[0-9]{1,2})?' |
while read -r net; do ipset add blocklist "$net" -exist; done
iptables -I INPUT -m set --match-set blocklist src -j DROP
iptables -I FORWARD -m set --match-set blocklist src -j DROP Persist the set and re-run the download from cron to keep it current:
ipset save blocklist -f /etc/ipset.blocklist
# /etc/cron.daily/blocklist
Add the list as an ipset in /etc/firehol/firehol.conf:
ipset4 create blocklist hash:net
ipset4 addfile blocklist "https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt"
blacklist4 full inface any src ipset:blocklist Reload with firehol try and confirm before making it permanent.
- Go to Firewall → Aliases and click +.
- Choose type URL Table (IPs), set a refresh interval (for example 1 day) and paste the URL below.
- Save and apply, then use the alias as source in a block rule under Firewall → Rules.
https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt - Go to Firewall → pfBlockerNG → IP → IPv4 and click Add.
- Paste the URL below as source, set State to ON and pick the action (Deny Both is the usual choice).
- Save, then run Update → Force Reload → IP.
https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt curl -fsSL "https://www.team-cymru.org/Services/Bogons/fullbogons-ipv6.txt" -o /var/lib/suricata/data/blocklist.txt Reference the file from a rule using a dataset:
alert ip [!$HOME_NET] any -> $HOME_NET any (msg:"Team Cymru Fullbogons (IPv6) match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Recent changes
Recently added entries
- 2001:678:ea8::/45
- 2001:67c:1788::/46
- 2001:67c:2888::/45
- 2001:df0:d980::/42
- 2001:df4:c680::/42
- 2001:df6:e800::/42
- 2001:df7:b2c1::/48
- 2001:df7:b2c2::/47
- 2001:df7:b2c4::/46
- 2001:df7:b2c8::/45
- 2001:df7:b2d0::/44
- 2001:df7:b2e0::/43
- 2001:df7:b341::/48
- 2001:df7:b342::/47
- 2001:df7:b344::/46
- 2001:df7:b348::/45
- 2001:df7:b350::/44
- 2001:df7:b360::/43
- 2001:df7:b3c1::/48
- 2001:df7:b3c2::/47
- 2001:df7:b3c4::/46
- 2001:df7:b3c8::/45
- 2001:df7:b3d0::/44
- 2001:df7:b3e0::/43
- 2401:c460::/27
Recently removed entries
- 2001:678:1384::/46
- 2001:678:1388::/45
- 2001:df0:d981::/48
- 2001:df0:d982::/47
- 2001:df0:d984::/46
- 2001:df0:d988::/45
- 2001:df0:d990::/44
- 2001:df0:d9a0::/43
- 2001:df4:c681::/48
- 2001:df4:c682::/47
- 2001:df4:c684::/46
- 2001:df4:c688::/45
- 2001:df4:c690::/44
- 2001:df4:c6a0::/43
- 2001:df6:e801::/48
- 2001:df6:e802::/47
- 2001:df6:e804::/46
- 2001:df6:e808::/45
- 2001:df6:e810::/44
- 2001:df6:e820::/43
- 2001:df7:b2c0::/42
- 2001:df7:b340::/42
- 2001:df7:b3c0::/42
- 2401:c461::/32
- 2401:c462::/31
