• subtext@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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.

      • rambos@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

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

        • subtext@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year 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).