Skip to content

pgagnidze/aws-vpn-client-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-vpn-client-docker

Important

This repository is largely simply packaging other authors' work!

Credits

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 maintains the .patch files for more recent versions of OpenVPN than what are available originally in Alex's repository.

Kaur Palang packaged the work of Alex Samorukov and Botify Labs into a Docker container format, making OpenVPN compatible with AWS VPN SAML while providing consistent deployment across environments.


This fork embeds the OpenVPN profile directly into the Docker image at build time instead of using runtime volume mounts, avoiding SELinux context conflicts while maintaining security isolation. Tested on Fedora Asahi Linux.

How to use

Build the container yourself

  1. Clone this repository
  2. Download your AWS VPN client profile into a directory
  3. Place your AWS VPN client profile (cvpn-endpoint-*.ovpn) in the same directory as the Dockerfile, renaming it to profile.ovpn
  4. Run docker compose up --build
  5. Authenticate to the login link you can find in the log output of this container

About

Connect to the AWS Client VPN with SAML using OSS Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 34.8%
  • Go 33.6%
  • Shell 31.6%