These scripts and config files are expected to be used as a cloudconfig and will install Openvpn server from the default Ubuntu 16.04 repository.
It is setup with certificates to prevent MITM attacks however uses username/password for client authentication.
The following is a generic client config.
client
dev tun
<connection>
remote 77.40.156.9 1194 udp
</connection>
<connection>
remote 77.40.156.9 53 udp
</connection>
<connection>
remote 77.40.156.9 443 tcp
</connection>
persist-key
persist-tun
mute-replay-warnings
<ca>
$(cat /etc/openvpn/etc/ca.crt)
</ca>
auth-user-pass
setenv CLIENT_CERT 0
ns-cert-type server
verb 3
This has not been security checked and is by far from production ready