Comment on Gluetun: The Little VPN Client That Could
cantankerous_cashew@lemmy.world 8 months agogluetun bundles a control server on port 8000 which you can query for the port number (don’t worry about openvpn
being in the url path, it still works with Wireguard). In my bash script (running on the host system), I use curl
to retrieve the forwarded port number and then do a POST with that data to the API of my qbt client which is running in another container on port 8080.