mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-23 02:54:57 +00:00
Update iptables.sh
This commit is contained in:
parent
777f66097b
commit
62350cc0d6
@ -4,6 +4,14 @@
|
|||||||
# ip route
|
# ip route
|
||||||
###
|
###
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
if [ -c /dev/net/tun ];
|
||||||
|
break
|
||||||
|
else
|
||||||
|
sleep 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# split comma seperated string into list from LAN_NETWORK env variable
|
# split comma seperated string into list from LAN_NETWORK env variable
|
||||||
IFS=',' read -ra lan_network_list <<< "${LAN_NETWORK}"
|
IFS=',' read -ra lan_network_list <<< "${LAN_NETWORK}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user