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

Dynamicly download client.ovpn file #4

Open
queglay opened this issue Jan 15, 2019 · 0 comments
Open

Dynamicly download client.ovpn file #4

queglay opened this issue Jan 15, 2019 · 0 comments

Comments

@queglay
Copy link

queglay commented Jan 15, 2019

I wanted to ask for a feature request that I haven't been able to figure out. It would be awesome to be able to automatically download the client.ovpn file so that a terraform local execute command could be used to automatically connect to the vpn. This would also be handy for terraform users to be able to provision instances in private subnets via this vpn solution.

This cloud formation template below seems to be able to achieve it from memory when I used it last, but it seems to be building the .ovpn file from scratch to do it.
https://github.com/zugdud/openvpn_aws_cloudformation/

Apparently the client.ovpn file in your case would be stored in /root, but I'm not sure how to actually get that file with terraform automatically, since you aren't able to ssh into the openvpn instance as root.

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