mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-17 06:00:15 +02:00
Fix/improve port forwarding handling
This commit is contained in:
+8
-2
@@ -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
|
||||
############################################
|
||||
|
||||
Reference in New Issue
Block a user