This commit is contained in:
Your Name 2024-09-22 23:12:43 -06:00
parent a0cbf7c6f0
commit 43267d5353
3 changed files with 6 additions and 2919 deletions

View File

@ -2272,7 +2272,6 @@
74.235.135.245
44.214.187.82
172.190.111.150
47.5.115.173
40.67.142.64
167.94.146.60
2a01:4f8:242:3ce9::2

View File

@ -53,8 +53,7 @@ nft list table filter >$NFT_CACHE
ipBlockParser(){
if [[ "$1" == *":"* ]]; then
echo "Skipping ip6"
#$NFT add rule ip6 filter input position 0 ip6 saddr $1 $NFT_DROP
$NFT add rule ip6 filter input position 0 ip6 saddr $1 $NFT_DROP
else
$NFT add rule ip filter input position 0 ip saddr "$1" $NFT_DROP
fi
@ -63,8 +62,8 @@ ipBlockParser(){
portOpenParser(){
$NFT_TCP $i $NFT_ACCEPT
$NFT_UDP $i $NFT_ACCEPT
#$NFT6_TCP $i $NFT_ACCEPT
#$NFT6_UDP $i $NFT_ACCEPT
$NFT6_TCP $i $NFT_ACCEPT
$NFT6_UDP $i $NFT_ACCEPT
}
ipDeleteParser(){

2917
nft.rules

File diff suppressed because it is too large Load Diff