Bitcoin Forum
February 23, 2024, 04:03:55 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running bitcoind on >1 computer, same network  (Read 2338 times)
allgoodthings1 (OP)
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
November 30, 2014, 02:03:18 AM
 #1

I want to run a full node of bitcoind on two or more computers that I have on my home network.  All are connected to one Linksys E2500 router.

One Port, One Computer: The problem is that my router settings will only let me forward Port 8333 to one IP address (or computer).  It will not let me set more than one IP to forward to the same Port 8333.

I'm sure there must be an easy way around this [i.e., in layman's language], but I cannot find it anywhere.  Can someone help me with this?

IRS 501(c)(3) Public Charities That Accept Bitcoin https://bitcointalk.org/index.php?topic=758674.0
Avoid U.S. Taxes on Bitcoin. Give to Charity. https://bitcointalk.org/index.php?topic=627860.0
1708661035
Hero Member
*
Offline Offline

Posts: 1708661035

View Profile Personal Message (Offline)

Ignore
1708661035
Reply with quote  #2

1708661035
Report to moderator
1708661035
Hero Member
*
Offline Offline

Posts: 1708661035

View Profile Personal Message (Offline)

Ignore
1708661035
Reply with quote  #2

1708661035
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1708661035
Hero Member
*
Offline Offline

Posts: 1708661035

View Profile Personal Message (Offline)

Ignore
1708661035
Reply with quote  #2

1708661035
Report to moderator
Vod
Legendary
*
Offline Offline

Activity: 3626
Merit: 2998


Licking my boob since 1970


View Profile WWW
November 30, 2014, 02:35:54 AM
 #2

http://lmgtfy.com/?q=how+to+port+forward+to+more+than+one+ip

Hope that helps.  Smiley

Launching in February - a non-PII tool to gather victims.  https://nastyscam.com
All negative feedback from OG can be safely ignored on all profiles.  He has stated he is willing to remove the negative feedback if the person does not bother him anymore.  His trust ratings are based on his feelings.   Smiley
Foxpup
Legendary
*
Offline Offline

Activity: 4284
Merit: 2918


Vile Vixen and Miss Bitcointalk 2021 and 2022


View Profile
November 30, 2014, 05:03:44 AM
 #3

One Port, One Computer: The problem is that my router settings will only let me forward Port 8333 to one IP address (or computer).  It will not let me set more than one IP to forward to the same Port 8333.
An explanation of port forwarding is in order. When you say IP address here, you're referring to private IP addresses (reachable only from your LAN, not the Internet). When other people connect to your Bitcoin node, they are connecting to your public IP address, and you only have one public IP address (that of the router). As a result, all incoming connections end up connecting to your router, not any of your computers, which obviously isn't what you want. This is where port forwarding comes in. With port forwarding, you tell your router that connections to your public IP on a particular public port should be forwarded to one of your computers, on a particular private IP and port.

Now, it is nonsensical to try to forward a connection to two computers simultaneously. If you did, the client connecting to you would receive two simultaneous responses to each request, and fail hilariously if those responses conflicted in even the most minor way. It won't work at all, and any sane configuration software won't let you try. Thus, if you have two computers accepting incoming connections, they must use two different public ports, so that the router can know which connections go with which computer.

The bigger question is, what are you really trying to do? Running two Bitcoin nodes on a single public IP is a strange configuration, and I'm not sure how such a configuration would be useful.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
allgoodthings1 (OP)
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
November 30, 2014, 11:56:44 AM
 #4

The bigger question is, what are you really trying to do? Running two Bitcoin nodes on a single public IP is a strange configuration, and I'm not sure how such a configuration would be useful.
Asked and answered: "I want to run a full node of bitcoind on two or more computers that I have on my home network."  Why support the network by running a full node on only one computer, if I have more than one computer on my network, all running 24/7 and capable of running their own instance of bitcoind?  Aren't two or three or four contributing full nodes better than one?  That shouldn't be a "strange configuration" for a lot of folks hereabouts, unless it's impossible to set up.

IRS 501(c)(3) Public Charities That Accept Bitcoin https://bitcointalk.org/index.php?topic=758674.0
Avoid U.S. Taxes on Bitcoin. Give to Charity. https://bitcointalk.org/index.php?topic=627860.0
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1480


No I dont escrow anymore.


View Profile WWW
November 30, 2014, 01:02:04 PM
 #5

The bigger question is, what are you really trying to do? Running two Bitcoin nodes on a single public IP is a strange configuration, and I'm not sure how such a configuration would be useful.
Asked and answered: "I want to run a full node of bitcoind on two or more computers that I have on my home network."  Why support the network by running a full node on only one computer, if I have more than one computer on my network, all running 24/7 and capable of running their own instance of bitcoind?  Aren't two or three or four contributing full nodes better than one?  That shouldn't be a "strange configuration" for a lot of folks hereabouts, unless it's impossible to set up.

More than one node per external IP is not helping and while its possible with custom ports, I think its better you run a single node with as much connections as the line can handle than multiple nodes that have the same IP.

PS: another option would be to use VPNs for each node, but you would still be limited by your ISPs bandwith.

Im not really here, its just your imagination.
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
November 30, 2014, 01:52:24 PM
 #6

Could you have the second one on TOR only?

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
allgoodthings1 (OP)
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
November 30, 2014, 10:22:12 PM
 #7

PS: another option would be to use VPNs for each node, but you would still be limited by your ISPs bandwith.
Thanks, Shore.  I am more than fine with my ISP's bandwidth limitations.  So what of this VPN option?

I have PIA for my VPN service (with up to four connections on the account), and I can find my connecting address on any of my computers by using speedtest.net   For example, one computer right now is showing a VPN connection on 66.55.144.250, via Choopa LLC in London.  Is there some way I can use this (or other information) to set up and run a beneficial full node on a second computer?

IRS 501(c)(3) Public Charities That Accept Bitcoin https://bitcointalk.org/index.php?topic=758674.0
Avoid U.S. Taxes on Bitcoin. Give to Charity. https://bitcointalk.org/index.php?topic=627860.0
Foxpup
Legendary
*
Offline Offline

Activity: 4284
Merit: 2918


Vile Vixen and Miss Bitcointalk 2021 and 2022


View Profile
December 01, 2014, 03:47:04 AM
 #8

Aren't two or three or four contributing full nodes better than one?
Better? Better for what? Not for bandwidth: your multiple nodes have the same combined bandwidth as you would have if you were running a single node. Not for redundancy: if your Internet connection or power fails, all of your nodes will fail simultaneously. What specific benefit do you hope to gain by this configuration?

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1480


No I dont escrow anymore.


View Profile WWW
December 01, 2014, 08:46:34 AM
 #9

PS: another option would be to use VPNs for each node, but you would still be limited by your ISPs bandwith.
Thanks, Shore.  I am more than fine with my ISP's bandwidth limitations.  So what of this VPN option?

I have PIA for my VPN service (with up to four connections on the account), and I can find my connecting address on any of my computers by using speedtest.net   For example, one computer right now is showing a VPN connection on 66.55.144.250, via Choopa LLC in London.  Is there some way I can use this (or other information) to set up and run a beneficial full node on a second computer?

Not sure how your VPN Serivce handles this, but the basic idea is:

Start the machine (A), connect to VPN (VPN_A) with that machine (do not use the router), start bitcoind afterwards. This would result in A to have the external IP of VPN_A. Youd have to configure the VPN in a way to either just forward everything to the connected client and configure the local firewall as if it was a internet server or configure that port 8333 will be forwarded on VPN_A to machine A. Machine B could connect normally via your router and machine C would use VPN_C, this can be the same service as long as the external IP is different and the service allows you to either just dump all incomming traffic on the client or configure portforwarding based on the clients ID.
Another way would be to use the Tor proxy for one of the nodes. AFAIK this has similar results as the VPN.

The question of Foxpup still stands though. A single big node is as beneficial as 2 smaller nodes IMHO.

Im not really here, its just your imagination.
allgoodthings1 (OP)
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
December 01, 2014, 11:34:06 AM
 #10

Thanks to all.  And to all a good night.

IRS 501(c)(3) Public Charities That Accept Bitcoin https://bitcointalk.org/index.php?topic=758674.0
Avoid U.S. Taxes on Bitcoin. Give to Charity. https://bitcointalk.org/index.php?topic=627860.0
tl121
Sr. Member
****
Offline Offline

Activity: 278
Merit: 251


View Profile
December 06, 2014, 03:42:08 AM
 #11

I want to run a full node of bitcoind on two or more computers that I have on my home network.  All are connected to one Linksys E2500 router.

One Port, One Computer: The problem is that my router settings will only let me forward Port 8333 to one IP address (or computer).  It will not let me set more than one IP to forward to the same Port 8333.

I'm sure there must be an easy way around this [i.e., in layman's language], but I cannot find it anywhere.  Can someone help me with this?

Unless your home network has unusually good bandwidth to the Internet it is unlikely that you could provide much service to the bitcoin network by running more than one bitcoin node.  At present, I don't have any node mapped to receive incoming connections.  Given my slow upload DSL bandwidth anyone who happened to connect to me to download the block chain would have to wait many days due to my limited bandwidth, so I figure I would actually be doing them a disservice.  A better way to service the network from a slow connection is to seed the bootsrap.dat torrent.

If you want to run multiple bitcoin nodes on your LAN for various reasons (such as testing), then I suggest dedicating a stable machine to be your "front" machine.  If you want that one to serve the network, then map 8333 to it at your router. Your other bitcoin nodes can have a "connect=192.168.1.xx" command in their config file.  That way they won't put any burden on the network. Also, they can clone the blockchain quickly over your LAN.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!