- Digital ocean
- AWS
- Yandex Cloud
- Selectel
- Docker on your local machine
- Sign up in Digital ocean
- Go to tokens page and create new token
- Setup payment method
- Run the following command
You can configure vpn with ENV varialbes:
Name | Description | Default | Available |
---|---|---|---|
TF_VAR_region | Region where vpn will be setup | ams3 | nyc1, nyc2, nyc3, sfo1, sfo2, tor1, lon1, fra1, sgp1, blr1, ams2 |
TF_VAR_wireguard_peers | How many configs you need. Comma-separated names | laptop | any valid filename |
docker run --rm \
-e TF_VAR_do_token=your_token \
-e TF_VAR_wireguard_peers=laptop,phone
-v `pwd`:/opt/vpnius/config
hetsketch/vpnius:latest
After command succeds you'll find config files and .png
QR codes in the current directory.
- Install Wireguard client on your mobile/laptop
- Import config to client
- Enjoy
- Terraform template
- Ansible playbook
- Dockerize script
- Imporove README
- AWS support
- Yandex support
- Selectel support
- OpenVPN support
- Use Apline base image