From d13d9d2080e884d1d42bcdbfdacee9c798c49cbd Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sat, 3 Feb 2018 03:27:11 -0500 Subject: [PATCH] Update iptables.sh --- qbittorrent/iptables.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qbittorrent/iptables.sh b/qbittorrent/iptables.sh index c035ace..30935f8 100644 --- a/qbittorrent/iptables.sh +++ b/qbittorrent/iptables.sh @@ -14,6 +14,7 @@ done ### DEBUG=true +DEFAULT_GATEWAY=$(ip -4 route list 0/0 | cut -d ' ' -f 3) # split comma seperated string into list from LAN_NETWORK env variable IFS=',' read -ra lan_network_list <<< "${LAN_NETWORK}"