GithubHelp home page GithubHelp logo

aws-ec2-integrated-vpn-server's Introduction

AWS EC2 Integrated VPN Server

This Cloudformation stack will run a EC2 instance which use Docker to contain Shadowsocks, kcptun, PPTP and L2TP/IPsec server.

  • Shadowsocks & kcptun - mritd/shadowsocks
    • Shadowsocks is used to break through the* Great Fire Wall (GFW)* to view blocked, obscured or disturbed content.
    • kcptun is used to improving the throughput and latency between the connection of Shadowsocks client and server.
  • L2TP/IPsec - hwdsl2/ipsec-vpn-server
  • PPTP - mobtitude/vpn-pptp

Express Deployment - Windows 10

  1. Create a user in IAM with Administrator policy (Programmatic access Only) Video Tutorial !!!!! Please mark down your Access Key Pair !!!!!
  2. Run Powershell as Administrator
  3. Copy the following command and run in Powershell.
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://bitbucket.org/iAmJustALittleITDog/aws-ec2-integrated-vpn-server/raw/4647fe7eb6b98549100c938f30c0513a220601de/express-deploy.ps1'))

Advanced Deployment - Bash

  1. Install AWS CLI
  2. Create a user in IAM with Admin policy
  3. Configure AWS CLI Credential
  4. Run the following command in terminal
git clone https://github.com/MikletNg/aws-ec2-integrated-vpn-server
cd aws-ec2-integrated-vpn-server
make deploy -s \
    PASSWORD='YOUR_OWN_PASSWORD'
  1. After deployment, go to Cloudformation consle. And check the stack output for the Shadowsocks server URL and the IKEv2 server configuration file.

Advanced Undeployment - Bash

make undeploy -is

Parameters in Makefile

  • PASSWORD*
    • The password use to connect to VPN
  • SS_PORT
    • The port number use by Shadowsocks
  • KCPTUN_PORT
    • The port number used by kcptun
  • STACK_NAME
    • Name of the Cloudformation stack
  • INSTANCE_TYPE
    • Instance type of EC2, must be t2 or t3. (Hong Kong Region do not provide t2 instance)
  • REGION
    • AWS region to deploy

aws-ec2-integrated-vpn-server's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.