This commit is contained in:
Your Name 2024-09-30 13:31:13 -06:00
parent a36ccf1caa
commit dcad7ebb4b
3 changed files with 3 additions and 5 deletions

View File

@ -44,7 +44,6 @@ portConfig["SyncThing-3"]="21027"
portConfig["Jellyfin-1"]="8096" portConfig["Jellyfin-1"]="8096"
portConfig["Jellyfin-1"]="7359" portConfig["Jellyfin-1"]="7359"
portConfig["SSH"]="22" portConfig["SSH"]="22"
TRUST="192.168.0.37"
VIRT_BRIDGE="virbr0" VIRT_BRIDGE="virbr0"
#### NFT CONFIG #### #### NFT CONFIG ####
# #
@ -140,6 +139,7 @@ basic-security() {
done done
bash $MODULES/module-trust.sh
#$NFT add rule filter input drop #$NFT add rule filter input drop
#$NFT add rule ip6 filter input drop #$NFT add rule ip6 filter input drop
} }
@ -153,10 +153,6 @@ virtualization() {
$NFT insert rule filter input iif $VIRT_BRIDGE accept $NFT insert rule filter input iif $VIRT_BRIDGE accept
} }
trust() {
$NFT insert rule ip filter input position 0 ip saddr $TRUST accept
}
import-saved() { import-saved() {
for i in "${SAVED_BOTS[@]}"; do for i in "${SAVED_BOTS[@]}"; do

View File

@ -1,3 +1,4 @@
84.210.80.99
192.168.0 192.168.0
POST POST
/inbox /inbox

1
trust.txt Normal file
View File

@ -0,0 +1 @@
192.168.0.1