Code Monkey home page Code Monkey logo

create-openvpn-with-docker-makefile's Introduction

Creating OpenVPN for Docker with Makefile

Tạo một OpenVPN server trong 3 phút.

Repo này chứa scipt để tạo VPN server nhanh chóng. Đối tượng hướng tới là các bạn chưa có nhiều kinh nghiệm set up server, do vậy phần Readme sẽ chứa nhiều hình ảnh minh hoạ.

Để thực hiện như hướng dẫn thì bạn cần tài khoản trên Digital Ocean. Register theo link phía sau để nhận được $100 in credit Digital Ocean $5/mo node

Upstream Links

Quick Start

1. Tạo một node/droplet trên Digital Ocean

Creating a droplet Nhớ check chọn SSH Keys. SSH Key

2. Copy (.env) từ (.env.example), thêm cấu hình cho phù hợp.

Config .env

3. Mở Terminal lên run (make init) để tạo OpenVPN server.

Các thao tác là tự động, ngoại trừ việc nhập Pass Phrase. Chú ý: PassPhrase cần được nhập bằng tay nhiều lần khi khởi tạo cũng như generate client certificate (step 4). Nếu nhập sai PassPhrase ở step nào thì cần làm lại step đó. Initialize OpenVPN server Input Pass Phrase

4. Run (make client) để tạo client certificate (dạng file .ovpn). File này sau khi tạo xong thì chứa trong thư mục cùng cấp.

Make Client

5. Do iOS không support OpenVPN nên cần dùng OpenVPN Connect để kết nối tới VPN server trước đó.

OpenVPN Connect

File .ovpn cũng có thể mở trên iPhone với OpenVPN Connect

create-openvpn-with-docker-makefile's People

Contributors

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