#!/bin/bash root=~ name=$1 cd $root/openvpn-ca/ ./easyrsa build-client-full $name nopass cd $root/client-configs/ ./make_config.sh $name echo Generated $root/client-configs/files/$name.ovpn exit 0