Public Repository

Last pushed: 14 days ago
Short Description
OpenVPN server using LDAP
Full Description
  • Start OpenVPN server
    docker volume create --name easy-openvpn
    docker run -d -v easy-openvpn:/var/lib/easy-openvpn \
    -p 1194:1194/udp -p 80:80 --cap-add=NET_ADMIN \
    -e SERVER_NAME=vpn.server.local \
    -e PRIVATE_NETWORK=10.10.10.10/24 \
    -e LDAP_URL=ldap://your.ldap.local \
    -e LDAP_BASE_DN=ou=People,dc=example,dc=com \
    -e LDAP_DESCRIPTION=something_admin \
    ssgca/easy-openvpn
    
  • generate client config(via http with ldap auth)
    curl -sf http://vpn.server.local/config -u user_name -o client.ovpn
    
  • or run command locally
    docker run --rm -v easy-openvpn:/var/lib/easy-openvpn \
    ssgca/easy-openvpn get_client_config vpn.server.loca user_name > client.ovpn
    
Docker Pull Command
Owner
ssgca