Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Awsvpnlauncher | 7 | 9 months ago | 1 | apache-2.0 | Java | |||||
A quick launcher for a OpenVPN Server on AWS EC2 | ||||||||||
Vpn Server | 3 | 2 months ago | mit | Python | ||||||
Automate OpenVPN using AWS EC2 and Python | ||||||||||
Terravpn | 1 | 5 years ago | apache-2.0 | HCL | ||||||
AWS EC2 OpenVPN on demand with terraform |
OpenVPN
using AWS EC2
.To take it a step further, if you have a registered domain in AWS, vpn-server can be accessed with an alias record in route53 pointing to the public IP of the ec2 instance.
Environment variables are loaded from .env
file if present.
t2.nano
, use t2.micro
if under free-tier.OpenVPN Connect
client. Defaults to log in profile or openvpn
OpenVPN Connect
client. Defaults to awsVPN2021
To get notification about login information:
US
based cellular)Optionally env vars
for AWS config (AWS_ACCESS_KEY
, AWS_SECRET_KEY
, AWS_REGION_NAME
) can be setup.
python -m pip install vpn-server
import vpn
# Instantiates the object, takes the same args as env vars.
vpn_server = vpn.VPNServer() # Defaults to console logging, but supports custom logger.
vpn_server.create_vpn_server() # Create a VPN Server, login information will be saved to a JSON file.
# Re-configure an existing VPN Server (not required, unless the configuration steps have been interrupted)
# vpn_server.reconfigure_vpn()
# Test an existing VPN Server (not required, as a test is run right after creation anyway)
# vpn_server.test_vpn()
vpn_server.delete_vpn_server() # Deletes the VPN Server removing the AWS resources acquired during creation.
Following are the prompts and response required to configure the VPN server.
yes
yes
yes
Default: all interfaces: 0.0.0.0
943
443
yes
No
yes
yes
yes
{USERNAME}
{PASSWORD}
{PASSWORD}
{ENTER/RETURN}
OpenVPN
application and get connected to the VPN server.A
record in Route 53
Requirement
python -m pip install changelog-generator
Usage
changelog reverse -f release_notes.rst -t 'Release Notes'
PreCommit
will ensure linting, and the doc creation are run on every commit.
Requirement
pip install sphinx==5.1.1 pre-commit recommonmark
Usage
pre-commit run --all-files
© Vignesh Sivanandha Rao
Licensed under the MIT License