This commit is contained in:
Your Name 2024-09-22 22:45:15 -06:00
parent cc33ea0480
commit 4320d67ace
3 changed files with 50 additions and 2185 deletions

View File

@ -1,3 +1,5 @@
20.171.206.0/24
131.170.239.0/24
97.145.164.161
2605:6400:10:1fe::666
2001:470:79c9:100:5054:ff:fe66:12ba
@ -3058,3 +3060,34 @@
2a03:2880:f800:18::
2a03:2880:f800:3::
2a03:2880:f800:a::
2a03:2880:27ff:28::face:b00c
2a03:2880:13ff:31::face:b00c
2a03:2880:27ff:28::face:b00c
2a03:2880:ff:6::face:b00c
2a03:2880:13ff:73::face:b00c
167.172.244.121
185.191.171.13
167.172.244.121
185.191.171.13
35.203.211.171
155.138.231.3
172.183.39.68
185.191.171.17
66.249.73.5
85.208.96.210
167.172.244.121
185.191.171.17
66.249.73.5
85.208.96.210
185.191.171.9
85.208.96.204
85.208.96.205
167.172.244.121
172.183.39.68
20.172.6.163
66.249.73.6
85.208.96.194
85.208.96.200
185.191.171.18
185.191.171.8
85.208.96.211

View File

@ -53,9 +53,9 @@ nft list table filter >$NFT_CACHE
ipBlockParser(){
if [[ "$1" == *":"* ]]; then
$NFT add rule ip6 filter input position 8 ip6 saddr $1 $NFT_DROP
$NFT add rule ip6 filter input position 4 ip6 saddr $1 $NFT_DROP
else
$NFT add rule ip filter input position 8 ip saddr "$1" $NFT_DROP
$NFT add rule ip filter input position 4 ip saddr "$1" $NFT_DROP
fi
}
@ -295,7 +295,7 @@ start() {
if [[ $HOSTNAME == *"nas"* ]]; then
attacker-protection
import
wireguard
web
admin
@ -311,7 +311,6 @@ start() {
docker restart uptime-kuma
$NFT insert rule filter input iif docker0 $NFT_ACCEPT
basic-security
import
else
virtualization
basic-security
@ -630,7 +629,7 @@ elif [ "$1" = "test" ]; then
elif [ "$1" = "nostr" ]; then
module-nostr
elif [ "$1" = "import" ]; then
quickImport
import
elif [ "$1" = "saved" ]; then
saved-bots
else

2193
nft.rules

File diff suppressed because it is too large Load Diff