• Stars
    star
    181
  • Rank 212,110 (Top 5 %)
  • Language
    Shell
  • Created over 11 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Start a private VPN server in the cloud.

AWSVPN

License

Licensed under the BSD 3 Clauses License (http://opensource.org/licenses/BSD-3-Clause)

Distributed on an "AS IS" basis without warranties or conditions of any kind, either express or implied.

Known Issue

Modify the startup script to adapt to the AMI ID available in your region

How To ?

Start a private VPN server in the cloud.

  • vpn-ec2-start script is run from your computer. It starts a machine on EC2
  • vpn-ec2-install script will be run from AWS' EC2 instance to setup VPN
  • vpn-ec2-terminate script is run from your computer to terminate (shutdown) the VPN server

THESE SCRIPTS MUST BE MODIFIED TO RUN IN YOUR ENVIRONMENT - PLEASE READ BELOW

The vpn-ec2-start script requires AWS CLI command line interface.

Here is an example of my $HOME/.aws/config

[default]
aws_access_key_id = AK..OQ
aws_secret_access_key = gj...T8
region = eu-west-1

You also need the following

  • an account on AWS EC2 :-)
  • to define a ssh key pair in AWS console (or through the command line)
  • to define an AWS Security Group with the following rules :
    • TCP 500 0.0.0.0/0
    • UDP 500 0.0.0.0/0
    • UDP 4500 0.0.0.0/0

vpn-ec2-start.sh must be modified

  • KEY_ID : change the name of the ssh key pair (line 9)
  • SEC_ID : change the name of the Security Group (line 10)

vpn-ec2-install.sh must be modified to include your VPN credentials

  • IPSEC_PSK - your shared secret (line 4)
  • VPN_USER - your VPN username (line 5)
  • VPN_PASSWORD - your VPN password (line 6)

Details about why and how to use these scripts are provided at http://www.stormacq.com/?p=534

More Repositories

1

tsunami-udp

Fork of Tsunami UDP File Transfer Server and Client w/fix to compile on MacOS
C
123
star
2

xcodeinstall

A command line tool to download and install Apple's Xcode
Swift
38
star
3

amplify-ios-getting-started

This is the editable material for Amplify's iOS Getting Started guide.
Shell
37
star
4

amplify-datastore-js-e2e

Amplify Datastore React Demo
JavaScript
31
star
5

amplify-mobile-news-blog

iOS and Android code sample for Amplify Mobile GA News Blog
Swift
19
star
6

amplify-react-workshop

Source Code for Amplify React Workshop and Presentation
JavaScript
17
star
7

cdk-load-balance-autoscaling-groups

CDK Example Code to deploy Load Balanced Scaling Groups
HTML
16
star
8

feature-flag-demo

TypeScript
11
star
9

swift-build-agent-sqs

A build agent based on Amazon SQS, written in Swift
Swift
11
star
10

kms-demo

KMS Python Demo
Python
11
star
11

cdk-ipv6

A CDK script o deploy an IPv6 VPC
TypeScript
10
star
12

AMIFinder

CloudFormation Custom Resource to dynamically find valid Windows AMI Ids
Python
8
star
13

bien-demarrer-aws

Bien Démarrer sur AWS
Python
8
star
14

swift-custom-runtime-lambda

Provide an AWS Lambda runtime implemntation for Swift programming language
Swift
8
star
15

amplify-ios-workshop

Repo for Amplify iOS Workshop created for re:Invent 2019
HTML
7
star
16

cdk-vpc-example

CDK code to show how to create instances in a VPC
HTML
7
star
17

sagemaker-jumpstart-demo

The source code used for the Amazon Sagemaker JumpStart demo during AWS Innovate AIML EMEA Conference Feb 24 2021
TypeScript
7
star
18

AWSDNSAuth

Creates AWS Authentication Header for Route 53 API Calls
Python
7
star
19

ecs-demo

HTML
7
star
20

tictactoe-cdk

CDK script for a multi region deployment of the TicTacToe game (available at https://github.com/sebsto/tictactoe-dynamodb)
CSS
6
star
21

alexa-polly

Webservice to transform Polly's output in a format accepted by Alexa SSML
JavaScript
5
star
22

maxi80-alexa

TypeScript
5
star
23

s3sign

Simple script to generate AWS S3 Signed URL
Python
5
star
24

webapp

Sample Web App with Maven for Jenkins Demo
Java
5
star
25

amplify-android-getting-started

This is the editable material for Amplify's Android Getting Started guide.
Kotlin
5
star
26

cdkv2-vpc-example

CDK v2 example to deploy a VPC and EC2 Instances
HTML
5
star
27

mongo-client-side-encryption

a sample code to show how to use AWS KMS and IAM Roles with MongoDB Client-Side Field Level Encryption
JavaScript
5
star
28

earthquake

Cocoa front end for Tsunami UDP
Objective-C
5
star
29

FinderExtra

macOS Finder Extension
Swift
4
star
30

signup-flask-nginx-docker

Sample Signup application running with Flask, nginx, uWSGI
TypeScript
4
star
31

tictactoe-dynamodb

Python
3
star
32

amplify-datastore-swift

This is a sample Swift application to demonstrate Amplify datastore swift library. Offline first, real time data synchronization
Swift
3
star
33

meetup-crawler

A serverless crawler of meetup.com data for analytics purposes
Python
3
star
34

maxi80-backend

Backend API for Maxi80 client apps
Python
2
star
35

aws-training-demo

Scala
2
star
36

swift-lambda-hello-world

Swift
2
star
37

rds-aurora-demo

Demo presented during AWS Innovate online conference - https://pages.awscloud.com/NAMER-field-OE-AWS-Innovate-Databases-and-Analytics-Edition-2019-reg-event.html
Java
2
star
38

babelfish-demo

Sample code for a Babelfish demo
C#
2
star
39

www.stormacq.com

Source code for personal website
HTML
2
star
40

stackoverflow-samples

Random code written to answer stackoverflow questions
Swift
2
star
41

guestbook-demo

Sample NodeJS + MySQL app with CDK deployment script
JavaScript
2
star
42

raspberrypi-ec2control

Python
1
star
43

alexa-typescript-decorators

Sample Hello World project to demonstrate usage of Typescript decorators
TypeScript
1
star
44

UTI

Simple command line utility to change macOS UTI handlers
Swift
1
star
45

SubnetFinder

Custom CloudFormation resource allowing to dynamically find VPC subnet based on tags
Python
1
star
46

amplify-console-demo

Demo for Amplify console pull requests
JavaScript
1
star
47

monotomicro

Monolith to micro services demo
TypeScript
1
star
48

amplify-memories

A sample app using Amplify Swift library
Swift
1
star
49

programmez.com-alexa

Example de code pour un article sur programmez.com
JavaScript
1
star
50

form_data_collect

a simple web service to collect data from HTML form
Python
1
star
51

alexa-oauth-http-proxy

An HTTP Proxy to debug OAuth errors for Alexa Skills
JavaScript
1
star