Giter Site home page Giter Site logo

vpn-server's Introduction

VPN server

This is a docker-compose project to bring up VPN server with DyDNS by noip.com.

Running

  1. Clone the repo
  2. Set the working directory to the root of the repo.
  3. Create a new file override.env in the root of the repo.
  4. Add a line TZ=Etc/UTC and change the value to the timezone of the VPN server (see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
  5. Add a line SERVERURL=change.me.to.noip.address and change the value to the given noip.com FQDN (the whole domain name).
  6. Add a line PEERS=comma,separated,names,of,vpn,users and change the value to the names of VPN users which will connect to this VPN. There will be created a directory for each user under /opt/wireguard/config with creds to connect to the VPN.
  7. Add lines NOIP_USER=... and NOIP_PASS=... and change them to the given credentials on the noip.com page for the given FQDN.
  8. Optionally add NOIP_INTERVAL=60 and change the value to the interval in seconds between two attempts to update the server IP.
  9. Run docker compose --build up to bring up the whole setup
  10. Directory /opt/wireguard/config will contain credentials required to connect to the VPN.

vpn-server's People

Contributors

antifriz avatar

Watchers

 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.