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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…