- Install dependencies:
sudo yum update -y sudo yum install git -y git clone https://github.com/timesler/docker-openvpn-server.git cd docker-openvpn-server bash setup-aws.sh
- Logout and back in.
- Start OpenVPN server:
cd docker-openvpn-server bash start-aws.sh <public IP>
- Create user profiles:
docker exec openvpn-server bash create_user_profile.sh tim
- Logout, then copy profile to user machine:
scp ec2-user@<server name>:~/docker-openvpn-server/client-profiles/tim.ovpn .