Giter VIP home page Giter VIP logo

aws-vpn-client's Introduction

OpenVPN AWS VPN Linux Client

This is an implementation of the original AWS VPN client PoC with OpenVPN using SAML authentication, based on the docker setup from rdvencioneck/aws-vpn-client-docker. The goal is to have an easy to consume Linux client, and I just didn't find the docker setup to be so easy after all.

See the original blog post for the implementation details.

Content of the repository

How to use

  1. Rename your VPN config file to vpn.conf
  2. Build patched openvpn version by running ./build.sh
  3. Run sudo ./connect.sh to connect to the AWS Client VPN

This will attempt to connect as long as the connection fails. For some reason, OpenVPN might fail to establish a connection. This has been mentioned, for example in threads on serverfault.com. I've experienced that running openvpn as root (with sudo greatly reduces the amount of tries it takes to establish a connection).

Install dependencies

I have installed and built this project by in clean docker images of the following distros, while noting which packages are required for building the patched openvpn client.

Ubuntu:

apt install git curl unzip patch gcc automake libtool libssl-dev net-tools liblzo2-dev libpam-dev cmake openssl golang-bin

Fedora

dnf install git curl unzip patch gcc automake libtool openssl-devel net-tools lzo-devel pam-devel cmake openssl golang-bin

OpenSuse

zypper install git curl unzip patch gcc automake libtool openssl-devel net-tools-deprecated lzo-devel pam-devel cmake openssl go-doc

Arch

pacman -S git curl unzip patch gcc automake autoconf libtool openssl net-tools lzo pam make golang-bin

aws-vpn-client's People

Contributors

samm-git avatar markussss avatar rdvencioneck avatar chrisac avatar ninjapanzer 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.