Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic script to add to internal config #112

Closed
3 tasks done
derekcentrico opened this issue May 31, 2022 · 2 comments
Closed
3 tasks done

Automatic script to add to internal config #112

derekcentrico opened this issue May 31, 2022 · 2 comments

Comments

@derekcentrico
Copy link
Contributor

Do you have the latest provider files?

  • I have checked that the provider are the latest

Have you tested the provider files?

  • I have tested the provider files

Can you create a PR for this config?

  • I can create a PR for this

Provider details

Please see https://github.com/derekcentrico/vpn-configs-contrib-ovpnwork/tree/main/openvpn/ovpn and my talking-to-myself discussion at #111.

I have a script to automatically process the OVPN options based upon defined environmental variables.

I cannot test/utilize this without it being baked internally it would seem:

No bundled config script found for OVPN. Defaulting to external config
Downloading configs from https://github.com/derekcentrico/vpn-configs-contrib-ovpnwork/archive/main.zip into /tmp/tmp.z3yLk1v32P
Extracting configs to /tmp/tmp.Ykzp4V9zrB
Found configs for OVPN in /tmp/tmp.Ykzp4V9zrB/vpn-configs-contrib-ovpnwork-main/openvpn/ovpn, will replace current content in /etc/openvpn/ovpn
Cleanup: deleting /tmp/tmp.z3yLk1v32P and /tmp/tmp.Ykzp4V9zrB
No VPN configuration provided. Using default.
Modifying /etc/openvpn/ovpn/default.ovpn for best behaviour in this container

It may be of value for the project to verify upon download if there is a configure-openvpn.sh prior to determining internal vs. external. Currently, it won't read the OVPN script to set a default.ovpn based upon the defined variables because it isn't "internal." I can open an issue/request on the main project for this if needed.

Anything else?

No response

@derekcentrico
Copy link
Contributor Author

So, I suppose that there would need to be a push of the OVPN directory contents to https://github.com/haugene/docker-transmission-openvpn/tree/master/openvpn. @haugene I am happy to maintain this if possible to obtain such a push so that ovpn is internal and the script (with the defined vars) can benefit folks more easily.

@derekcentrico
Copy link
Contributor Author

Super old, long since done. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant