Commented part on UFW_ALLOW_GW_NET until fix
This commit is contained in:
@@ -55,10 +55,10 @@ fi
|
|||||||
|
|
||||||
log "Got local network ${GW} and CIDR ${GW_CIDR} on interface ${INT}"
|
log "Got local network ${GW} and CIDR ${GW_CIDR} on interface ${INT}"
|
||||||
|
|
||||||
if [[ "${ENABLE_UFW,,}" == "true" && "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then
|
# if [[ "${ENABLE_UFW,,}" == "true" && "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then
|
||||||
log "Allow from ${GW_CIDR}"
|
# log "Allow from ${GW_CIDR}"
|
||||||
ufw allow from ${GW_CIDR}
|
# ufw allow from ${GW_CIDR}
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [[ -n "${LOCAL_NETWORK-}" ]]; then
|
if [[ -n "${LOCAL_NETWORK-}" ]]; then
|
||||||
if [[ -n "${GW-}" ]] && [[ -n "${INT-}" ]]; then
|
if [[ -n "${GW-}" ]] && [[ -n "${INT-}" ]]; then
|
||||||
|
Reference in New Issue
Block a user