Update iptables.sh

This commit is contained in:
MarkusMcNugen 2018-02-02 22:49:19 -05:00 committed by GitHub
parent aee9d38377
commit 00b4a516f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,11 +151,6 @@ for lan_network_item in "${lan_network_list[@]}"; do
# accept output to deluge daemon port - used for lan access # accept output to deluge daemon port - used for lan access
iptables -A OUTPUT -o eth0 -d "${lan_network_item}" -p tcp --sport 58846 -j ACCEPT iptables -A OUTPUT -o eth0 -d "${lan_network_item}" -p tcp --sport 58846 -j ACCEPT
# accept output from privoxy if enabled - used for lan access
if [[ $ENABLE_PRIVOXY == "yes" ]]; then
iptables -A OUTPUT -o eth0 -p tcp -s "${docker_network_cidr}" -d "${lan_network_item}" -j ACCEPT
fi
done done
# accept output for icmp (ping) # accept output for icmp (ping)