This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
port_forwarding [06/17/2023 12:19] – further simplification and clarification crowetic | port_forwarding [06/17/2023 12:33] (current) – cleaned up, made much simpler crowetic | ||
---|---|---|---|
Line 13: | Line 13: | ||
Simply edit **settings.json** for the nodes ASIDE FROM THE FIRST NODE, and change the listenPort for the subsequent nodes, below is an example for the second node on the LAN. | Simply edit **settings.json** for the nodes ASIDE FROM THE FIRST NODE, and change the listenPort for the subsequent nodes, below is an example for the second node on the LAN. | ||
- | < | + | |
- | { | + | < |
" | " | ||
- | } | + | }</ |
- | </ | + | |
- | + | ||
- | The above settings would be fine for your SECOND node, you do not need to do anything for the FIRST node, as it will run on the default port 12392. Any SUBSEQUENT node you will need to add **ONLY the above setting in settings.json**, | + | |
- | + | ||
- | **Option 2:** If your router does **NOT offer uPNP**, you will need to configure port forwarding (on your router). | + | |
- | + | ||
- | 1) Login to your router and set the IP address of the node to " | + | |
- | + | ||
- | 2) In your router, configure port forwarding for this device: | + | |
- | Inbound: 12392 (sometimes ‘inbound’ is titled ‘internal’) | + | |
- | Outbound 12392 (sometimes ‘outbound’ is titled ‘external’) | + | |
- | Protocol: TCP | + | |
- | ===== More Than One Node On Your Home Network (no uPnP)===== | + | =====Networks Without |
+ | On networks that do NOT have uPnP available, you will need to **enable port forwarding and static assignment** to obtain incoming connections. Doing this will be DIFFERENT on any given router. You will need to obtain instructions for your router from an internet search as far as the terminology and specific settings that you will need. | ||
- | If you have more than one node on your network, then you’ll want to: | + | We will provide **basic overall instructions** here for understanding. |
- | + | ||
- | | + | |
- | | + | |
- | 1) Set the IP address of each node to STATIC. This will prevent | + | 1. Setup **static assignment** for each node machine on your LAN. - Static assignment ensures that the machine |
- | 2) Set port forwarding for each node as shown in the following. Internal and external | + | 2. Establish a **port forwarding |
- | **Node 1** Internal: 12392 External: 12392 | + | **You do NOT need to modify any further settings on your NODE**, simply add new entries for each node machine with a **DIFFERENT EXTERNAL PORT**. See below for an overall idea... |
- | **Node | + | **Node |
- | **Node | + | **Node |
- | **Node | + | **Node |
- | etc. | + | etc... You can use ANY port you like for the different external port, as long as it **doesn' |
- | (Just change | + | **All that needs to change |