From 396a590299a4d72bfe3dcf0df4dd1f5a43c836ae Mon Sep 17 00:00:00 2001 From: Logan007 Date: Thu, 27 Aug 2020 15:33:02 +0545 Subject: [PATCH] updatetd faq --- doc/Faq.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/Faq.md b/doc/Faq.md index 4140c69..60c3e1a 100644 --- a/doc/Faq.md +++ b/doc/Faq.md @@ -1,7 +1,9 @@ # n2n Frequently Asked Questions + ## Supernode + ### I want to setup a supernode that only I can use. Perhaps even password protected? Please think of the community-name as password and start the supernode with the `-c ` parameter where the `` is the path to a simple text file containing a single line with the name of your secret community. It will be the only community allowed. Only edge nodes from that community can join (`-c ` at the edge). @@ -12,23 +14,25 @@ Also, please see the community.list file for advanced use of that file. Beyond this access barrier you may want to use payload encryption `-A_` at the edges. Only the edges – not the supernode – are able to decipher the payload data. So, even if anyone would be able to break the access barrier to the supernode, the payload remains protected by the payload crypto, see [this document](https://github.com/ntop/n2n/blob/dev/doc/Crypto.md) for details. + ### Can I get a list of connected edge node and their community and source IP from the supernode? -The supernode provides basic information via its localhost udp management port. It defaults to 5645. +The supernode provides basic information via its localhost udp management port. It defaults to 5645 and can be changed using supernode's `-t` command line option. -You can request that information by just sending a new line, i.e. pressing [ENTER] key, running the following command (localhost only): +You can request the current status by just sending a new line, i.e. pressing [ENTER] key, running the following command (localhost only) `netcat -u localhost 5645` + ## Edge ### How can I know if peer-to-peer connection has successfully been established? -The edge also offer a management port at which it provides some information about connected _peers_, i.e. allowing a peer-to-peer connection, and _pending peers_ whose connections are forwarded through the supernode. +The edge also offers a local udp management port at which it provides some information about connected _peers_ allowing a peer-to-peer connection, and _pending peers_ whose connections are forwarded through the supernode. -The edge's management port defaults 5644. Connecting using the following command +The edge's management port defaults to 5644 and can be changed using edge's `-t` command line option. Connecting using the following command (localhost only) `netcat -u localhost 5644` -answers every new line, i.e. press [ENTER] key, with the current information. The edge even understands some simple commands, try `help`. +answers every new line, i.e. pressing [ENTER] key, with current information. The edge even understands some simple commands, try `help`.