you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 3 years ago (1 child)

I just set it up this weekend, really enjoying it so far, really good documentation in general as well. Only thing that gave me some pause was how to get port forwarding working with it, but I was able to set up a script & cron job to automatically grab the current port with the Gluetun API.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 years ago (1 child)

    I was also struggling a bit with that, but didnt need a script or chron job. Maybe Im missing something, but I used this

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    That integration with Proton VPN is what I’m using as well. However, to automate the updates of my service’s port to match the currently forwarded port is what I wanted a script and cron job for. In this manner, the service will always have the latest forwarded port even after docker service restarts, machine reboots, etc. (since Proton uses a dynamic port allocation that changes quite quickly when disconnected).

  • source
  • parent