Spawn your own VPN server with one command.
- Clone this repository.
git clone https://github.com/iamludal/vpn-spawner.git
- Authenticate yourself to the Google Cloud SDK.
gcloud auth login
- Set your project ID using the
GCLOUD_PROJECT_ID
environment variable.
export GCLOUD_PROJECT_ID=[your_project_id]
- Spawn your VPN server.
./spawn.sh
-
Connect to your VPN server by opening the generated
client.ovpn
file in a VPN client. -
Once you're done, destroy your VPN server.
./destroy.sh