当前位置:   article > 正文

n2n www.php,ntop/n2n 运行

docker部署n2n

sudo supernode /etc/n2n/supernode.conf &

sudo edge /etc/n2n/edge.confsupercode -l &

edge -a -c n2n -l -k /etc/default/n2n

/etc/n2n/edge.conf.sample#

# The configuration file is similar to the command line, with one option per line. An equal

# sign '=' should be used between key and value. Example: -c=mynetwork or --community=mynetwork

# This file contains a basic configuration example, please refer to the help (-h) for the full

# list of available options.

#

# -d|--tun-device

# Specifies the name of the TUN interface.

#

-d=n2n0

#

# -c|--community

# Specifies the n2n community name the edge belongs to.

#

-c=mynetwork

#

# -k

# Sets the encryption key (ASCII). The environment variable N2N_KEY= can also be used.

#

-k=mypassword

#

# -m

# Specified the MAC address for the TAP interface (random otherwise).

#

# -m=DE:AD:BE:EF:99:99

#

# -a

# Sets the interface address. For DHCP use '-r -a dhcp:0.0.0.0'.

#

-a=1.2.3.4

#

# -p

# Sets the local UDP port to a fixed port.

#

-p=50001

#

# -l|--supernode-list

# Specifies the supernode IP and port.

#

-l=7.8.9.0:7777

#

supernode.conf.sample#

# The configuration file is similar to the command line, with one option per line. An equal

# sign '=' should be used between key and value. Example: -l=7777 or --local-port=7777

# This file contains a basic configuration example, please refer to the help (-h) for the full

# list of available options.

#

# -l|--local-port

# Sets the UDP listening port.

#

# -l=7777

#

# Specify in supernodes.list the list of allowed communities

#

# -c=supernodes.list

/etc/n2n/supernodes.list# suppercodes list

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小桥流水78/article/detail/943513
推荐阅读
相关标签
  

闽ICP备14008679号