fix
This commit is contained in:
parent
a36ccf1caa
commit
dcad7ebb4b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user