ANSWERED Gluetun: Port forwarding works for an hour
By
Blatantly0156, ... in Troubleshooting and Problems
Recommended Posts
Recommended
@Blatantly0156
Hello!
It sounds like you are experiencing this bug:
https://github.com/qdm12/gluetun/issues/1407
Note this: "It might be because there is a listener going through the tunnel, but gluetun destroys that tunnel on an internal vpn restart and re-creates it. I had the same issue with the http client fetching version info/public ip info from within gluetun, and the fix was to close 'idle connections' for the http client when the tunnel is up again". Therefore, unless somethin
Recommended by
Staff
Recommended
You'll still have issues if the AirVPN node you're using is ever down for more than 2 minutes.
Someone in the reddit thread suggested configuring your dependent container to restart whenever Gluetun's health check fails, which seems reasonable to me.
<dependent-container>:
depends_on:
gluetun:
condition: service_healthy
restart: true
Potentially good solution
Recommended by Staff