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
2816cf5ddd
commit
ca7b0eba99
@ -1,9 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Kanged from binhex's OpenVPN dockers
|
# Kanged from binhex's OpenVPN dockers
|
||||||
|
|
||||||
# ip route
|
# Wait until tunnel is up
|
||||||
###
|
|
||||||
|
|
||||||
while : ; do
|
while : ; do
|
||||||
if [ -c /dev/net/tun ]; then
|
if [ -c /dev/net/tun ]; then
|
||||||
break
|
break
|
||||||
@ -12,6 +10,9 @@ while : ; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# ip route
|
||||||
|
###
|
||||||
|
|
||||||
# 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