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