diff --git a/qbittorrent/iptables.sh b/qbittorrent/iptables.sh index 9364ece..ec3160f 100644 --- a/qbittorrent/iptables.sh +++ b/qbittorrent/iptables.sh @@ -1,9 +1,7 @@ #!/bin/bash # Kanged from binhex's OpenVPN dockers -# ip route -### - +# Wait until tunnel is up while : ; do if [ -c /dev/net/tun ]; then break @@ -12,6 +10,9 @@ while : ; do fi done +# ip route +### + # split comma seperated string into list from LAN_NETWORK env variable IFS=',' read -ra lan_network_list <<< "${LAN_NETWORK}"