All Projects → opsgang → terraform-aws-pritunl-vpn-server

opsgang / terraform-aws-pritunl-vpn-server

Licence: MIT license
Pritunl VPN Server for your public/private like VPC on AWS

Programming Languages

HCL
1544 projects
Smarty
1635 projects
shell
77523 projects

Projects that are alternatives of or similar to terraform-aws-pritunl-vpn-server

Autovpn
Create On Demand Disposable OpenVPN Endpoints on AWS.
Stars: ✭ 1,959 (+4797.5%)
Mutual labels:  openvpn, vpn, vpn-server
docker-pritunl
Ubuntu Xenial + Pritunl
Stars: ✭ 109 (+172.5%)
Mutual labels:  vpn, vpn-server, pritunl
Docker Openvpn
🔐 Out of the box stateless openvpn-server docker image which starts in less than 2 seconds
Stars: ✭ 174 (+335%)
Mutual labels:  openvpn, vpn, vpn-server
Pritunl
Enterprise VPN server
Stars: ✭ 3,360 (+8300%)
Mutual labels:  vpn, vpn-server, pritunl
Openvpn Install
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Stars: ✭ 7,142 (+17755%)
Mutual labels:  openvpn, vpn, openvpn-server
Pi Hole Pivpn On Google Compute Engine Free Tier With Full Tunnel And Split Tunnel Openvpn Configs
Run your own privacy-first ad blocking service in the cloud for free on Google Cloud Services.
Stars: ✭ 1,141 (+2752.5%)
Mutual labels:  openvpn, vpn, vpn-server
Vpngate With Proxy
vpn gate client for linux, be able to connect to open vpn server through proxy
Stars: ✭ 150 (+275%)
Mutual labels:  openvpn, vpn, vpn-server
k8s-ovpn-chart
[DEPRECATED] Helm chart for a private OpenVPN server
Stars: ✭ 19 (-52.5%)
Mutual labels:  openvpn, vpn, vpn-server
Ovpm
OpenVPN Management Server - Effortless and free OpenVPN server administration
Stars: ✭ 256 (+540%)
Mutual labels:  openvpn, vpn, vpn-server
Softethervpn
Cross-platform multi-protocol VPN software. Pull requests are welcome. The stable version is available at https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.
Stars: ✭ 8,531 (+21227.5%)
Mutual labels:  openvpn, vpn, vpn-server
Adblocking Vpn
🔒 Create your own VPN server that blocks malicious domains to enhance your security and privacy
Stars: ✭ 139 (+247.5%)
Mutual labels:  openvpn, vpn, vpn-server
Upribox
Usable Privacy Box
Stars: ✭ 153 (+282.5%)
Mutual labels:  openvpn, vpn-server
Ovpnmcgen.rb
An OpenVPN iOS Configuration Profile (.mobileconfig) Utility—Configures OpenVPN for use with VPN-on-Demand that are not exposed through Apple Configurator 2.
Stars: ✭ 154 (+285%)
Mutual labels:  openvpn, vpn
vpns
A collection of vpns
Stars: ✭ 112 (+180%)
Mutual labels:  vpn, vpn-server
Tunnelkit
Non-official OpenVPN client library for Apple platforms.
Stars: ✭ 180 (+350%)
Mutual labels:  openvpn, vpn
Openvpn3 Linux
OpenVPN 3 Linux client
Stars: ✭ 186 (+365%)
Mutual labels:  openvpn, vpn
Openvpn Install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
Stars: ✭ 14,199 (+35397.5%)
Mutual labels:  openvpn, vpn
Ladder
梯子,科学上网,翻墙 , 代理, 外网, 加速器, 路由, V2Ray,SS,shadowsocks, SSR
Stars: ✭ 141 (+252.5%)
Mutual labels:  openvpn, vpn
Arch Rtorrentvpn
Docker build script for Arch Linux base with ruTorrent, rTorrent, autodl-irssi, Privoxy and OpenVPN
Stars: ✭ 185 (+362.5%)
Mutual labels:  openvpn, vpn
Django Netjsonconfig
Configuration manager for embedded devices, implemented as a reusable django-app
Stars: ✭ 213 (+432.5%)
Mutual labels:  openvpn, vpn

Overview

This module setups a VPN server for a VPC to connect to instances.

Before you start to use the module you have to make sure you've created resources below

  • healthchecks.io account and cron entry for monitoring the backup script

After provisioning, don't forget to run commands below:

  • Pritunl setup
    • sudo pritunl setup-key

Input variables

  • aws_key_name: SSH Key pair for VPN instance
  • vpc_id: The VPC id
  • public_subnet_id: One of the public subnets to create the instance
  • ami_id: Amazon Linux AMI ID
  • instance_type: Instance type of the VPN box (t2.small is mostly enough)
  • ebs_optimized: Create EBS optimized EC2 instance. Default: false
  • whitelist: List of office IP addresses that you can SSH and non-VPN connected users can reach temporary profile download pages
  • whitelist_http: List of IP addresses that you can allow HTTP connections.
  • internal_cidrs: List of CIDRs that will be whitelisted to access the VPN server internally.
  • tags: Map of AWS Tag key and values
  • resource_name_prefix: All the resources will be prefixed with the value of this variable
  • healthchecks_io_key: Health check key for healthchecks.io
  • s3_bucket_name: Optional bucket name for Pritunl backups

Outputs

  • vpn_instance_private_ip_address: Private IP address of the instance
  • vpn_public_ip_address: EIP of the VPN box
  • vpn_management_ui: URL for the management UI

Usage

provider "aws" {
  region  = "eu-west-2"
}

module "app_pritunl" {
  source = "github.com/opsgang/terraform_pritunl?ref=2.0.0"

  aws_key_name         = "org-eu-west-2"
  vpc_id               = "${module.vpc.vpc_id}"
  public_subnet_id     = "${module.vpc.public_subnets[1]}"
  ami_id               = "ami-403e2524"
  instance_type        = "t2.nano"
  resource_name_prefix = "opsgang-pritunl"
  healthchecks_io_key  = "NNNNNNNN-NNNN-NNNN-NNNN-NNNNNNNNNNN"
  s3_bucket_name       = "i-want-to-override-generated-bucket-name"

  whitelist = [
    "8.8.8.8/32",
  ]

  tags {
    "role" = "vpn"
    "env"  = "prod"
  }
}

P.S. : Yes, AMI id is hardcoded! This module meant to be used in your VPC template. Presumably, no one wants to destroy the VPN instance and restore the configuration after terraform apply against to VPC. There is no harm to manage that manually and keep people working during the day.

There will be wiki link about initial setup of Pritunl

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].