From fdbfcf1e062c9f1766b5bea23dce600070b28d44 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Fri, 14 Dec 2018 00:45:58 -0500 Subject: [PATCH] Comment out setting route for LAN network --- qbittorrent/iptables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/iptables.sh b/qbittorrent/iptables.sh index 25b787c..df4ec33 100644 --- a/qbittorrent/iptables.sh +++ b/qbittorrent/iptables.sh @@ -26,8 +26,8 @@ echo "[info] LAN Network defined as ${LAN_NETWORK}" | ts '%Y-%m-%d %H:%M:%.S' DEFAULT_GATEWAY=$(ip -4 route list 0/0 | cut -d ' ' -f 3) echo "[info] Default gateway defined as ${DEFAULT_GATEWAY}" | ts '%Y-%m-%d %H:%M:%.S' -echo "[info] Adding ${LAN_NETWORK} as route via docker eth0" | ts '%Y-%m-%d %H:%M:%.S' -ip route add "${LAN_NETWORK}" via "${DEFAULT_GATEWAY}" dev eth0 +#echo "[info] Adding ${LAN_NETWORK} as route via docker eth0" | ts '%Y-%m-%d %H:%M:%.S' +#ip route add "${LAN_NETWORK}" via "${DEFAULT_GATEWAY}" dev eth0 echo "[info] ip route defined as follows..." | ts '%Y-%m-%d %H:%M:%.S' echo "--------------------"