GithubHelp home page GithubHelp logo

openvpn-cluster's Introduction

OpenVPN-Cluster

OpenVPN 集群

最近在准备OpenVPN的集群供IoT设备使用,参考了

说明

由于 Bruno 提供的Dcokerfile是两年前的,导致build镜像时出现了很多问题,现提供修改后的Dcokerfile文件。
本次测试采用的是CentOS 7.6 系统。
主网卡 eth0。

步骤

  • 使用 kylemanna/openvpn 镜像初始化证书,并生成两个用户文件:user1、user2

  • 启动两个新打包的openvpn容器

  • 在 ccd 文件夹中新增两个 user1、user2文件,配置不同的静态IP:192.168.255.6;192.168.255.10 静态IP

  • 使用两个客户端连接到不同的openvpn容器,会发现python脚本会自动添加相关的路由信息 路由

  • 在客户端中 ping 另一个vpn的静态IP Ping

  • 说明图 Demo

openvpn-cluster's People

Contributors

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