Qortal Project

The future of blockchain platforms

User Tools

Site Tools


port_forwarding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
port_forwarding [01/30/2023 08:40] – [More Than One Node On Your Home Network] gfactorport_forwarding [01/30/2023 19:40] gfactor
Line 16: Line 16:
 2) Open your settings.json - this may be blank which indicates you have the default settings. You will then copy and paste the code below into the settings.json and click save: 2) Open your settings.json - this may be blank which indicates you have the default settings. You will then copy and paste the code below into the settings.json and click save:
 <code>{ <code>{
-"uPnPEnabled": false+"uPnPEnabled": false
-"listenPort": 12392+
 } }
 </code> </code>
Line 36: Line 35:
 ===== More Than One Node On Your Home Network ===== ===== More Than One Node On Your Home Network =====
  
-If you have more than one node on your network, then you’ll want to disable uPnP:+If you have more than one node on your network, then you’ll want to:
    
-  * Disable uPnP in the router (if it is a feature in your router and already enabled). 
   * Set a static IP address for each node in the router.    * Set a static IP address for each node in the router. 
   * Configure port forwarding in the router for each node.    * Configure port forwarding in the router for each node. 
-  * Stop the core, then change the json settings on each node to disable uPnP.+  * Stop the core, then change the json settings on each node to disable uPnP
   * Start the core on each node.   * Start the core on each node.
  
-1) Login to your router and disable uPnP (if your router has this option)+1) Login to your router and set the IP address of the node to "STATIC" or "Reserve IP Address" or whatever verbiage your router uses for this setting. This will prevent the node’s IP address from changing and affecting all of this configuration.
  
-2) Set the IP address of each node to STATICThis will prevent the node’s IP address from changing and affecting all of this configuration.+2) Set port forwarding for each node as shown in the followingInternal stays the same and external for each node will be unique and NOT match the other nodes, also set protocol for TCP:
  
-3) Set port forwarding for each node as shown in the following. Internal and external for each node will be unique and NOT match the other nodes:+**Node 1** Internal: 12392 External: 12392 Protocol: TCP
  
-**Node 1** Internal: 12392 External: 12392+**Node 2** Internal: 12392 External: 12393 Protocol: TCP
  
-**Node 2** Internal: 12393 External: 12393+**Node 3** Internal: 12392 External: 12394 Protocol: TCP
  
-**Node 3** Internal: 12394 External: 12394 +**Node 4** Internal: 12392 External: 12395 ProtocolTCP
- +
-**Node 4** Internal: 12395 External12395+
  
 etc.   etc.  
Line 62: Line 58:
 (Just change the last digit in each number.) (Just change the last digit in each number.)
  
-4) Stop the core by entering the following command in the terminal:+3) Stop the core by entering the following command in the terminal:
  
 <code>cd qortal && ./stop.sh</code> <code>cd qortal && ./stop.sh</code>
  
-Open your settings.json - this may be blank which indicates you have the default settings. You will then copy and paste the code below into the settings.json and click save:+Open your settings.json - this may be blank which indicates you have the default settings. You will then copy and paste the code below into the settings.json for each node and click save:
  
 <code>{ <code>{
-"uPnPEnabled": false+"uPnPEnabled": false
-"listenPort": 12392+
 }</code> }</code>
  
Line 77: Line 72:
 5) Start the core on each node: 5) Start the core on each node:
 <code>cd qortal && ./start.sh</code> <code>cd qortal && ./start.sh</code>
 +
 =====Third Party Guides===== =====Third Party Guides=====
  
Line 96: Line 92:
  
 Look at the second IP address with a dynamic port. This is UPnP working. Instead of 12392 , it has opened a 44380 port for TCP handshake / connect / ACK. Look at the second IP address with a dynamic port. This is UPnP working. Instead of 12392 , it has opened a 44380 port for TCP handshake / connect / ACK.
- 
port_forwarding.txt · Last modified: 06/17/2023 12:33 by crowetic