mirror of
https://github.com/C24Be/AS_Network_List.git
synced 2026-06-14 10:22:02 +03:00
19 lines
602 B
Plaintext
19 lines
602 B
Plaintext
# IPSet blacklist configuration (IPv6 only)
|
|
# Auto-generated from blacklist-v6.txt
|
|
# Last updated: 2026-06-05 09:35:59 UTC
|
|
#
|
|
# Usage:
|
|
# 1. Load the ipset:
|
|
# ipset restore < blacklist-v6.ipset
|
|
#
|
|
# 2. Use with iptables/ip6tables:
|
|
# ip6tables -I INPUT -m set --match-set blacklist-v6 src -m conntrack --ctstate NEW -j DROP
|
|
# ip6tables -I FORWARD -m set --match-set blacklist-v6 src -m conntrack --ctstate NEW -j DROP
|
|
#
|
|
# 3. To flush/delete the set:
|
|
# ipset flush blacklist-v6
|
|
# ipset destroy blacklist-v6
|
|
#
|
|
|
|
create blacklist-v6 hash:net family inet6 hashsize 1024 maxelem 0
|