docker-openvpn-client
docker-openvpn-client copied to clipboard
fix detection when AUTH_SECRET is empty
In which situations does the original test not work?
On Tue, May 23, 2023 at 6:51 AM Christophe Painchaud < @.***> wrote:
You can view, comment on, or merge this pull request online at:
https://github.com/wfg/docker-openvpn-client/pull/108 Commit Summary
- ab55b1c https://github.com/wfg/docker-openvpn-client/pull/108/commits/ab55b1c6c1e33ed0086414de72ab6754a3a93f8a fix detection when AUTH_SECRET is empty
File Changes
(1 file https://github.com/wfg/docker-openvpn-client/pull/108/files)
- M build/entry.sh https://github.com/wfg/docker-openvpn-client/pull/108/files#diff-39196f8f2c230c2083782ea5ad2a8ee20087a134d43a7d242bc33a60c1e47176 (2)
Patch Links:
- https://github.com/wfg/docker-openvpn-client/pull/108.patch
- https://github.com/wfg/docker-openvpn-client/pull/108.diff
— Reply to this email directly, view it on GitHub https://github.com/wfg/docker-openvpn-client/pull/108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJCPA4BDECCLOJTZN5YCHLXHSQERANCNFSM6AAAAAAYLYULGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
If I put no AUTH_SECRET when I created the container (I put credentials in the opvn config file) then this test will fail and will force the use of --auth-user-pass" "/run/secrets/$AUTH_SECRET" which is obviously why this test was put in place I guess
for the record this is how I create my container:
--network docker1 \
--name=openvpn \
--cap-add=NET_ADMIN \
--device=/dev/net/tun \
--volume /xxxxxxxxx/config:/config \
--restart unless-stopped \
-e ALLOWED_SUBNETS=xxxxxx/24 \
-e CONFIG_FILE=default.ovpn \
-e TZ=Europe/Paris \
ghcr.io/xxxxxxx/openvpn-client
any new on this one @wfg ?
thank you