krasnoperov / vpn

IKEv2 VPN Server on Digital Ocean

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IKEv2 VPN Server

StrongSwan VPN service on Digital Ocean with Let's Encrypt certificate and password authentication.

You’ll need:

Setup

export TF_VAR_do_pat="your_personal_access_token"
export TF_VAR_ssh_key="name_of_your_ssh_key"
export TF_VAR_domain_name="personal.domain.name"
terraform init
terraform apply

Usage

MacOS:

  • Go to System Preferences and choose Network.
  • Click on the small “plus” button on the lower-left of the list of networks.
  • In the popup that appears, set Interface to VPN, set the VPN Type to IKEv2, and give the connection a name.
  • In the Server and Remote ID field, enter the server’s domain name. Leave the Local ID blank.
  • Click on Authentication Settings, select Username, and enter your username and password from the Terraform output. Then click OK.

Links

About

IKEv2 VPN Server on Digital Ocean


Languages

Language:HCL 100.0%