V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
weakiwi

纯容器化部署 n2n

  •  
  •   weakiwi ·
    weakiwi · Oct 20, 2017 · 3111 views
    This topic created in 3111 days ago, the information mentioned may be changed or developed.

    纯容器化部署 n2n

    p.s: 多次验证过的只有 other edge 以及 dhcp_server,其他步骤为已实现待验证

    supernode

    1. git clone https://github.com/weakiwi/n2n_docker.git
    2. 像部署文件 docker-compose.yml 中环境变量添加 SUPERNODE=yes
    3. docker-compose up -d

    edge1

    1. 将 SUPERNODE=yes 删除
    2. 添加 STATIC_IP=10.9.9.2
    3. docker-compose up -d

    dhcp_server

    1. cd dhcp_server/
    2. docker-compose up -d

    other edge

    1. 去掉 STATIC_IP=10.9.9.2
    2. docker-compose up -d
    2 replies    2017-10-20 18:14:40 +08:00
    Thiece
        1
    Thiece  
       Oct 20, 2017
    这个 n2n 是那个 n2n 吗?
    weakiwi
        2
    weakiwi  
    OP
       Oct 20, 2017
    @Thiece p2p vpn 的 n2n
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 795ms · UTC 22:25 · PVG 06:25 · LAX 15:25 · JFK 18:25
    ♥ Do have faith in what you're doing.