Giter VIP home page Giter VIP logo

docker-ipsec-vpn-client's Introduction

Docker IPSEC L2TP VPN client

Docker earley-stage image to run an IPsec VPN client, with IPsec/L2TP, based on : https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md

HOW TO

After cloning the repo build docker image with the command

sudo docker build --tag xl2tpd_client .

In order to run the container the following environment variables need to be passed:

  • VPN_IPSEC_PSK, VPN_USER, VPN_PASSWORD provided from your VPN provider
  • the provider's IP is passed as VPN_PUBLIC_IP
  • and the local host ip should be passed as well, named VPN_LOCAL_IP

Then container launch would look like:

docker run -it --name=ipsec-vpn-client -e "VPN_IPSEC_PSK=[your_key]" -e "VPN_USER=[your)user]" -e "VPN_PASSWORD=[your_pass]" -e "VPN_PUBLIC_IP=[vpn_ip]" -e "VPN_LOCAL_IP=[host_ip]" -v /lib/modules:/lib/modules:ro -d --privileged emmdim/ipsec-vpn-client

docker-ipsec-vpn-client's People

Contributors

emmdim avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  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.