Fix/improve port forwarding handling

This commit is contained in:
Gauthier Delacroix
2019-07-15 22:02:40 +02:00
parent e4336c02d7
commit 55492015cb
4 changed files with 26 additions and 9 deletions

View File

@@ -266,8 +266,6 @@ fi
# Note: TUN device re-opening will restart the container due to permissions
printf "DONE\n"
############################################
# NETWORKING
############################################
@@ -395,6 +393,14 @@ if [ "$PROXY" == "on" ]; then
printf "DONE\n"
fi
############################################
# READ FORWARDED PORT
############################################
if [ "$PORT_FORWARDING" == "true" ]; then
sleep 10 && /portforward.sh &
fi
############################################
# OPENVPN LAUNCH
############################################