Skip to content

Commit

Permalink
Commented part on UFW_ALLOW_GW_NET until fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrianne committed Mar 16, 2021
1 parent 5b94493 commit 0376af5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions root/etc/deluge/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0376af5

Please sign in to comment.