Skip to content

UkiyoESoragoto/alpine-openvpn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openvpn client in a container.

Openvpn is set up in a way that no direct connection is allowed from the container (we modify routes and set iptables).

Purpose

The purpose of this container is to be extended with layers that need access only via VPN.

Configuration

Openvpn will search for config file in /etc/openvpn_host/, it will cd into this directory and will try to load a file named openvpnconfig.conf. To provide this file, an external volume must be mapped with:

-v </path/to/openvpn-configs>:/etc/openvpn_host/

The final run command can be:

docker run -v </path/to/openvpn-configs>:/etc/openvpn_host/ --privileged -d dimovnike/alpine-openvpn

Limitations

  • needs --privileged
  • supports only tun devices

About

Openvpn client in a docker container.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%