Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
918 views
in Technique[技术] by (71.8m points)

openvpn - AWS CodeBuild: How to Use .OVPN file in AWS Instance

I have .ovpn file that I use from my local PC to connect to a remote server in order to execute Terraform commands. How can I use this file from AWS CodeBuild Ubuntu instance?

Until now, I have tried to install in my container OpenVPN server and use .ovpn for connection establishment.

  - apt install -y network-manager-openvpn-gnome openvpn-systemd-resolved
  - openvpn --config test-dev.ovpn

But it could not resolve the DNS name that is used in the file. Can some one suggest how to solve this?

question from:https://stackoverflow.com/questions/65905217/aws-codebuild-how-to-use-ovpn-file-in-aws-instance

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...