Skip to content
/ autovpn Public
forked from ttlequals0/autovpn

Script to create an OpenVPN Endpoint on AWS.

License

Notifications You must be signed in to change notification settings

yuchou/autovpn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asciicast

Dependencies: boto and paramiko (python packages) and aws .credentials file on system

  1. Clone repo to system.
  2. Execute autovpn with -C -k and -r options to deploy to AWS ./autovpn -C -r us-east-1 -k macbook
  3. OpenVPN config files are downloaded to current working directory.
  4. Import the OpenVPN config file into VPN client.
  5. Connect to VPN.

DESCRIPTION:
   autovpn - AWS OpenVPN Deployment Tool.
	Project found at https://github.com/ttlequals0/autovpn
USAGE:
        ACTION	 [OPTIONS]
       -C    Create VPN endpoint.
       -G    Generate new keypair.
       -S    Get all running instances in a given region.
       -T    Terminate a OpenVPN endpoint.
       -a    Specify custom ami.*
       -h    Displays this message.
       -i    AWS Instance type (Optional, Default is t2.micro)
		t2.nano t2.micro t2.small t2.medium t2.large.**
       -k    Specify the name of AWS keypair (Required)
       -r    Specify AWS Region (Required)
		us-east-1 us-west-1 us-west-2 eu-west-1 eu-central-1
		ap-southeast-1 ap-northeast-1 ap-northeast-2 ap-southeast-2
		sa-east-1
       -u    Specify custom ssh user.***
       -y    Skip confirmations
       -z    Specify instance id.
EXAMPLES:
  Create OpenVPN endpoint:
	autovpn -C -r us-east-1 -k macbook
  Generate keypar in a region.
	autovpn -G -r us-east-1
  Get running instances
	autovpn -S -r us-east-1
  Terminate OpenVPN endpoint
	autovpn -T -r us-east-1 -z i-b933e00c
  Using custom options
    autovpn -C -r us-east-1 -k macbook -a ami-fce3c696 -u ec2_user -i m3.medium
NOTES:
        \* - Customs ami may be needed if changing instance type.
       	\** - In reality any instance size can be given but the t2.micro is more than
       	 enough.
        \*** - Custom user might be need if using a custom ami.

About

Script to create an OpenVPN Endpoint on AWS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 79.2%
  • Python 20.8%