Commented part on UFW_ALLOW_GW_NET until fix

This commit is contained in:
Eldwan Brianne
2021-03-16 23:44:08 +01:00
parent 5b944931a3
commit 0376af5593

View File

@@ -55,10 +55,10 @@ fi
log "Got local network ${GW} and CIDR ${GW_CIDR} on interface ${INT}"
if [[ "${ENABLE_UFW,,}" == "true" && "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then
log "Allow from ${GW_CIDR}"
ufw allow from ${GW_CIDR}
fi
# if [[ "${ENABLE_UFW,,}" == "true" && "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then
# log "Allow from ${GW_CIDR}"
# ufw allow from ${GW_CIDR}
# fi
if [[ -n "${LOCAL_NETWORK-}" ]]; then
if [[ -n "${GW-}" ]] && [[ -n "${INT-}" ]]; then