This project is to simplify the process of creating OpenVPN servers on Oracle's OCI cloud. Their free offering is quite amazing, this is a great video by IdeaSpot to get introduced: https://www.youtube.com/watch?v=_m21FxvuQ4c
These scripts can fail due to limitations on resources or other unhandled exceptions. However, they work well enough for my use case. Perhaps someone else can use them and/or improve them!
Note that key id_rsa
is saved to pwd
and can be copied offline to SSH into each VPS.
-
Open + login to Oracle Cloud Shell: https://cloud.oracle.com?cloudshell=true
-
Copy/paste into the Oracle Cloud Shell:
Use with caution! Piping scripts to /bin/bash can be dangerous. Please validate all scripts before running.
# curl -s https://raw.githubusercontent.com/alecmaly/One-Click-Oracle-OCI-OpenVPN-Deployment/main/new_oci_openvpn_server.sh | /bin/bash -s -- <instance_name> <cpu_count> <memory_in_gb>
curl -s https://raw.githubusercontent.com/SavageTheUnicorn/One-Click-Oracle-OCI-OpenVPN-Deployment/main/new_oci_openvpn_server.sh | /bin/bash -s -- openvpn-sever 1 1
- Have not tested default timeout rules for SSH, may need to configure timeout policy and/or implement whitelist ingress firewall rules?
This is not working currently