Author

Topic: Two Full Nodes, Same Router (Read 1829 times)

sr. member
Activity: 446
Merit: 251
September 25, 2015, 05:04:01 PM
#9
It would also help if set your two nodes on separate public IPs. If you are behind a router, it would NAT your external IP and your two nodes would use the same public IP address.
hero member
Activity: 709
Merit: 503
September 25, 2015, 12:30:18 PM
#8
If/when one node is down then the other can remain available.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
September 22, 2015, 06:48:59 AM
#7
.... or you can keep the same 8333 port on that computer and set up your router to forward a different port number on the router to port 8333 on the computer.

I am not sure that would work.  A full node broadcasts the port it uses, so the node needs to know its global internet port.  Having the router remap the port will mean that nobody will be able to connect to the 2nd node, since it will claim to use port 8333.

Besides these rules are usually 1st match, thus everything that comes in on port 8333 would be handled the same, regardless of a different later rule.

It appears that in order to run a full node port 8333 must be forwarded to that computer.
Not so.

Wouldn't it be nice if all problems were this easily solved. Smiley


To expand a little on this. You dont need to allow outside connections to run a full node. A full node that only uses the 8 outgoing connections that you get when you dont open and forward the port is still a full node.

The question I come up with is, why?

If node #1 is connected well to the internet, just let node #2 connect to node #1 locally. What is the benefit of you offering a service twice on the same IP? The nodes would compete for the bandwidth and unless the machines are very old would not max out alone anyway.

.... or you can keep the same 8333 port on that computer and set up your router to forward a different port number on the router to port 8333 on the computer.

I am not sure that would work.  A full node broadcasts the port it uses, so the node needs to know its global internet port.  Having the router remap the port will mean that nobody will be able to connect to the 2nd node, since it will claim to use port 8333.
Wouldn't it just not accept incoming connections?

If thats the result, why bother with a complex setup at all?
staff
Activity: 3458
Merit: 6793
Just writing some code
September 22, 2015, 06:43:48 AM
#6
.... or you can keep the same 8333 port on that computer and set up your router to forward a different port number on the router to port 8333 on the computer.

I am not sure that would work.  A full node broadcasts the port it uses, so the node needs to know its global internet port.  Having the router remap the port will mean that nobody will be able to connect to the 2nd node, since it will claim to use port 8333.
Wouldn't it just not accept incoming connections?
sr. member
Activity: 362
Merit: 262
September 22, 2015, 04:58:00 AM
#5
If you want both available to the internet:
Why not change the default port configured in bitcoin.conf on the second node to something else.  Say 9333.  Then on your router fw 8333 to the existing node and 9333 to the second node.  That way the second node will "know" its port is 9333 and also advertise it correctly.  

Personally I'd just keep one node available on internet and set the second node to -connect or -addnode (also in bitcoin.conf) to the existing node.  Should save some bandwidth and resources.  With this the second node will download off the existing node exclusively or mainly (depending on connect/add respectively).

legendary
Activity: 1232
Merit: 1094
September 22, 2015, 04:02:04 AM
#4
.... or you can keep the same 8333 port on that computer and set up your router to forward a different port number on the router to port 8333 on the computer.

I am not sure that would work.  A full node broadcasts the port it uses, so the node needs to know its global internet port.  Having the router remap the port will mean that nobody will be able to connect to the 2nd node, since it will claim to use port 8333.
staff
Activity: 4242
Merit: 8672
September 21, 2015, 08:20:49 PM
#3
It appears that in order to run a full node port 8333 must be forwarded to that computer.
Not so.

Wouldn't it be nice if all problems were this easily solved. Smiley
staff
Activity: 3458
Merit: 6793
Just writing some code
September 21, 2015, 08:20:02 PM
#2
It appears that in order to run a full node port 8333 must be forwarded to that computer.  However, I have two computer on the same router and I would like to run two full nodes. My router won't allow me to forward 8333 to the second computer. What must I do to get that second node up?

I'm running Bitcoin Core version v0.11.0 (64-bit).

Thanks.

Run it with a different port. You can either set your node to use a different port in the bitcoin.conf file and have the router forward that new port or you can keep the same 8333 port on that computer and set up your router to forward a different port number on the router to port 8333 on the computer.
full member
Activity: 126
Merit: 101
September 21, 2015, 07:56:27 PM
#1
It appears that in order to run a full node port 8333 must be forwarded to that computer.  However, I have two computer on the same router and I would like to run two full nodes. My router won't allow me to forward 8333 to the second computer. What must I do to get that second node up?

I'm running Bitcoin Core version v0.11.0 (64-bit).

Thanks.
Jump to: