mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update iptables.sh
This commit is contained in:
parent
aee9d38377
commit
00b4a516f6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user