Giter VIP home page Giter VIP logo

n2n's Introduction

n2n-vpn-docker

alt tag

alt tag

start supernode

 docker run -d -p 61099:61099/udp --name n2n_supernode -e tpye=supernode vank3f3/n2n

start edge

//node IP 10.9.9.1

 docker run -d --privileged --net=host --name n2n_edge -e type=edge -e interfaceaddress=10.9.9.1 -e supernodenet=192.168.3.108:61099 vank3f3/n2n 

//node IP 10.9.9.2

 docker run -d --privileged --net=host --name n2n_edge -e type=edge -e interfaceaddress=10.9.9.2 -e supernodenet=192.168.3.108:61099 vank3f3/n2n

test: ping -f -l 8 -s 800 -c 10000 <far_edge>

n2n's People

Contributors

vank3f3 avatar

Forkers

asvany

n2n's Issues

DHCP not supported

docker run -d --restart=always --privileged --name n2n_edge --net host -e type=edge -e devicename="n2nv2s -r" -e interfaceaddress="dhcp:0.0.0.0" -e supernodenet=xxxx:xxx -e communityname=n2nv2s -e Encryptionkey=n2nv2s6P -e OPTIONS="-v" vank3f3/n2n

无法取得IP地址
docker exec -it n2n_edge sh

dhclient

-ash: dhclient: not found

dhclient根本没有安装。用命令apk安装dhclient,

apk add dhclient

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.