https://github.com/ntop/n2n [branch: dev tag:3.1.1] build. Built on 2023/01/31
3.4K
https://github.com/ntop/n2n
[branch: dev tag:3.1.1]
Server: Supernode
docker rm -f supernode
docker run -d \
--name=supernode \
--privileged=true \
--net=host \
qida/n2n supernode -p 7654 -M -f
Client: Edge 1
docker rm -f edge1
docker run -d \
--name=edge \
--privileged=true \
--net=host \
qida/n2n edge -a 10.0.0.1 -c mynetwork -k mysecretpass -l server_ip:7654 -f
Client: Edge 2
docker rm -f edge2
docker run -d \
--name=edge \
--privileged=true \
--net=host \
qida/n2n edge -a 10.0.0.2 -c mynetwork -k mysecretpass -l server_ip:7654 -f
/usr/sbin # supernode -h
Welcome to n2n v.3.1.1-47-ga74435c-dirty for x86_64-unknown-linux-gnu
Built on Oct 26 2022 07:28:56
Copyright 2007-2022 - ntop.org and contributors
general usage: supernode <config file> (see supernode.conf)
or supernode [-p [<local bind ip address>:]<local port>]
[-F <federation name>]
options for under- [-l <supernode host:port>]
lying connection [-m <mac address>] [-M] [-V <version text>]
overlay network [-c <community list file>]
configuration [-a <net ip>-<net ip>/<cidr suffix>]
local options [-f] [-t <management port>]
[--management-password <pw>] [-v]
[-u <numerical user id>][-g <numerical group id>]
meaning of the [-M] disable MAC and IP address spoofing protection
flag options [-f] do not fork but run in foreground
[-v] make more verbose, repeat as required
technically, all parameters are optional, but the supernode executable
requires at least one parameter to run, .e.g. -v or -f, as otherwise a
short help text is displayed
-h shows this quick reference including all available options
--help gives a detailed parameter description
man files for n2n, edge, and superndode contain in-depth information
/usr/sbin # edge -h
Welcome to n2n v.3.1.1-47-ga74435c-dirty for x86_64-unknown-linux-gnu
Built on Oct 26 2022 07:28:56
Copyright 2007-2022 - ntop.org and contributors
general usage: edge <config file> (see edge.conf)
or edge -c <community name> -l <supernode host:port>
[-p [<local bind ip address>:]<local port>]
[-T <type of service>] [-D]
options for under- [-i <registration interval>] [-L <registration ttl>]
lying connection [-k <key>] [-A<cipher>] [-H] [-z<compression>]
[-e <preferred local IP address>] [-S<level of solitude>]
[--select-rtt]
tap device and [-a [static:|dhcp:]<tap IP address>[/<cidr suffix>]]
overlay network [-m <tap MAC address>] [-d <tap device name>]
configuration [-M <tap MTU>] [-r] [-E] [-I <edge description>]
[-J <password>] [-P <public key>] [-R <rule string>]
local options [-f] [-t <management port>] [--management-password <pw>]
[-v] [-V]
[-u <numerical user id>] [-g <numerical group id>]
environment N2N_KEY instead of [-k <key>]
variables N2N_COMMUNITY instead of -c <community>
N2N_PASSWORD instead of [-J <password>]
meaning of the [-D] enable PMTU discovery
flag options [-H] enable header encryption
[-r] enable packet forwarding through n2n community
[-E] accept multicast MAC addresses
[--select-rtt] select supernode by round trip time
[--select-mac] select supernode by MAC address
[-f] do not fork but run in foreground
[-v] make more verbose, repeat as required
[-V] make less verbose, repeat as required
-h shows this quick reference including all available options
--help gives a detailed parameter description
man files for n2n, edge, and superndode contain in-depth information
Content type
Image
Digest
sha256:25dba63fd…
Size
4.6 MB
Last updated
4 months ago
docker pull qida/n2n:3.1.1