Author

Topic: How to connect to my bitcoin server over the internet? (Read 4101 times)

full member
Activity: 434
Merit: 101
yeah... so is there any other way to check?

You can use the flexible mining proxy in the forum im using that now its nice because I can switch the pools for ALL the miners with a click of a button.  So i don't have to ssh and vi all my scripts.   You can also monitor speed and which pools are up etc etc.
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
yeah... so is there any other way to check?
full member
Activity: 434
Merit: 101
are you sure? My friend is telling me he is connected to my pool and his miner is showing ~300,000 Khash/s but I can't find his external IP in the log (I used search)

I've gone through all my logs before as well and was unable to find my miners connections.  I'm wondering if it worked on the older version of bitcoin and the new version removed it from the logs perhaps a developer can shed some more light on this.  Though I think it would be worth while for the developers to add these tools to the bitcoin client/server as the same program is used for both and it would make managing your cluster much easier.
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
are you sure? My friend is telling me he is connected to my pool and his miner is showing ~300,000 Khash/s but I can't find his external IP in the log (I used search)
member
Activity: 109
Merit: 11
where can i find these logs?

Go to start->run and paste this: %appdata%\Bitcoin\debug.log
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
where can i find these logs?
full member
Activity: 434
Merit: 101
for starters, the allowip command is set to the internal ip address.. how is someone not on my network going to connect to that ip?

Thats why you need to add a wildcard to your conf file so you server does not limit connections to the internal network and allows outside ip's


just a server then. is it possible to see who is connected to it or what?

Currently there is no way to tell which miners are connected to your server without the use of a proxy.  Im sure you could go through your connection logs and search the external ip of which ever miners you are using over the internet.  But the server as of now does not contain the tools necessary to be able to show hashrate of miners, or which miners are connected withouth the use of 3rd party software(proxy)
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
just a server then. is it possible to see who is connected to it or what?
member
Activity: 109
Merit: 11
ok, I got it working. does anyone know how I can tell who is connected to my pool?
Wait, are you trying to create a mining pool, or have clients connect to your bitcoin server?
Because as far as I know, they are two different things.
A bitcoin pool gives out "shares" of 1 difficulty each. A bitcoin server just doles out work at the current difficulty.

I think you need some sort of external proxy for the clients to connect to if you want to see who is connecting to your bitcoin server. I dont know of such a program.
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
ok, I got it working. does anyone know how I can tell who is connected to my pool?
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
for starters, the allowip command is set to the internal ip address.. how is someone not on my network going to connect to that ip?
member
Activity: 112
Merit: 10
I still don't understand...

d3c0n808's response was spot on... what, exactly, didn't make sense?
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
I still don't understand...
full member
Activity: 434
Merit: 101
First you need to add a wildcard to your bitcoin.conf
your typical network setup will look like
allowip=192.168.1.*
you will need to also add
allowip=*

check on the allowip it might be rpcallowip or something like that im sure its in the sample conf files. 

Depending on your router it might have ddns support which is great sign up at dyndns.org or no-ip.org or something so you can make a host name which is easier to remember than an ip as if you have a dynamic ip(changes) like i do its a pain if the ip changes.   
You need to use your wan ip or your wan hostname as they are the address you will point your miners to over the internet.  Then you will need to portforward port 8332 or what ever your rpc port is to that computer.  So if your servers local ip is 192.168.1.2 your config will look similar to this

out port                       In port     NAT/IP Address   TCP/UDP
8332                              8332      192.168.1.2        both(I chose both i think it only requires tcp though)


Hope that helps
member
Activity: 84
Merit: 10
The Premier Digital Asset Management Ecosystem
How would someone connect to my bitcoin -server over the internet? do I put my external ip as --host? or what?
Jump to: