

I know that the port forwarding command can be simplified. In my case its this complex because the way it is listed in the gluetun wiki did not work even though I disabled authentication for my local network. The largest part of the script is authenticating with the username and password before actually sending the port forwarding command.
I’ll definitely try adjusting my stack to your variant though. I’ve also tried the healthcheck option before but I must have configured it wrong because that caused my gluetun container to get stuck.
One question regarding your stack though, is there a specific reason for binding /dev/net/tun to gluetun?



I guess I missed that.
Anyway, I updated my stack to be similar to what you pasted and so far it seems to be working. I’ll have to check tomorrow if the reboot issue persists.