Sign inSign up

kpalang/aws-vpn

By kpalang

•Updated almost 2 years ago

A containerized version of AWS compatible OpenVPN

Image
Networking
Security
0

1.2K

kpalang/aws-vpn repository overview

Important

This repository is largely simply packaging other authors' work!

⁠Credits

⁠samm-git/aws-vpn-client⁠

Alex Samorukov is the mastermind behind this implementation. He figured out how AWS patches the openvpn client and created the first implementations. Be sure to read his blog⁠ on for more details.

⁠botify-labs/aws-vpn-client⁠

Botify Labs maintains the .patch files for more recent versions of OpenVPN than what are available originally in Alex's repository.


GitHub⁠

This repository aims to package the work of Alex Samorukov and Botify Labs on making OpenVPN compatible with AWS VPN SAML.

⁠How to use

⁠Use a prebuilt container
  1. Download your AWS VPN client profile into a directory
  2. Run docker run --name vpn -d --net host -v /path/to/profile.ovpn:/opt/openvpn/profile.ovpn:ro --device /dev/net/tun:/dev/net/tun --cap-add NET_ADMIN kpalang/aws-vpn:latest
    1. Run docker logs -f vpn to grab the login link
    2. After logging in, you can safely exit the log tail with Ctrl-C
  3. Enjoy
⁠Build the container yourself
  1. Clone this repository
  2. Download your AWS VPN client profile into a directory.
  3. Adjust the mount source (./profile.ovpn) in compose.yml to read your ovpn profile file (cvpn-endpoint-*.ovpn)
    1. Don't change the mount target (/opt/openvpn/profile.ovpn)!
  4. Run docker compose up --build
    1. Also grab the login link from docker compose logs
  5. Enjoy

Tag summary

Content type

Image

Digest

sha256:bb4eec020…

Size

14.1 MB

Last updated

almost 2 years ago

docker pull kpalang/aws-vpn