Code Monkey home page Code Monkey logo

openvpn's Introduction

openvpn docker configuration

Uses https://github.com/kylemanna/docker-openvpn as underlaying container provider

Core OS setup

For use on core os we need to do pre-setup

  1. Install docker-compose
sudo su -
mkdir -p /opt/bin
DOCKER_VER=1.21.0
curl -L "https://github.com/docker/compose/releases/download/$(DOCKER_VER)/docker-compose-$(uname -s)-$(uname -m)" -o /opt/bin/docker-compose
  1. Populate .env file with your data, sample configuration is included
  2. docker-compose up -d - launches your service
  3. Create identity via USERNAME=test ./scripts/add-client.sh
  4. transfer ./data/clients/test.ovpn to your machine & client of choice & enjoy vpn
  5. remove identity via USERNAME=test ./scripts/remove-client.sh
  6. Transfer .ovpn configuration to your compute, example:
./scripts/transfer.sh test > ./config.ovpn
  1. Install tunnelblick, for instance brew install tunnelblick or brew cask install tunnelblick
  2. Install ovpn configuration on your machine, for mac its as easy as open ./config.ovpn
  3. Adjust settings of tunnelblick:
  • checkbox [ ] proxy all ipv4 traffic
  • configuration -> advanced -> [ ] allow changes to manually-set network settings

openvpn's People

Contributors

avvs avatar

Stargazers

Nick avatar

Watchers

 avatar James Cloos avatar Alexey Khoroshev avatar bludzhd 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.