You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the VPN_PORT_FORWARDING_UP_COMMAND is great, for which I would run a curl command to set the port in a different container/client. However, if that container is down, there is no subsequent opportunity to set the port.
I can have the VPN_PORT_FORWARDING_UP_COMMAND run a script that runs a loop until it succeeds, but would this block gluetun in any way? Or, if gluetun runs VPN_PORT_FORWARDING_UP_COMMAND then VPN_PORT_FORWARDING_DOWN_COMMAND, then VPN_PORT_FORWARDING_UP_COMMAND again, what happens? parallel instances with potentially stale port values?
Is there a way to institute a command/script that can run periodically (user configurable) that could attempt to run a command (to set the port using the value from the port_forward file gluetun creates)? Possibly using crontab?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Using the VPN_PORT_FORWARDING_UP_COMMAND is great, for which I would run a curl command to set the port in a different container/client. However, if that container is down, there is no subsequent opportunity to set the port.
I can have the VPN_PORT_FORWARDING_UP_COMMAND run a script that runs a loop until it succeeds, but would this block gluetun in any way? Or, if gluetun runs VPN_PORT_FORWARDING_UP_COMMAND then VPN_PORT_FORWARDING_DOWN_COMMAND, then VPN_PORT_FORWARDING_UP_COMMAND again, what happens? parallel instances with potentially stale port values?
Is there a way to institute a command/script that can run periodically (user configurable) that could attempt to run a command (to set the port using the value from the port_forward file gluetun creates)? Possibly using crontab?
Beta Was this translation helpful? Give feedback.
All reactions