Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: BookLover on October 19, 2011, 12:57:09 AM



Title: How to forward port 8333 through TOR?
Post by: BookLover on October 19, 2011, 12:57:09 AM
I have searched the threads and have not found enough information for to accomplish this.  I already have the BTC client running through TOR, I have a static IP address, and I know where to go to alter settings on my router.  What I don't know is how to configure the router and what to change on TOR and/or the client for this to work  I'm not sure if it is even possible to forward port 8333 through TOR so any input would appreciated.

Thanks for even reading this thread.

BookLover


Title: Re: How to forward port 8333 through TOR?
Post by: Revalin on October 19, 2011, 01:16:06 AM
The point of TOR is to hide your IP.  Configuring your router to allow people to connect to you on your static IP is pointless unless you publish your IP so people can connect.  What are you trying to do?


Title: Re: How to forward port 8333 through TOR?
Post by: BookLover on October 19, 2011, 01:35:59 AM
I have a static network IP address not a static internet IP address.  I'm trying to do this because I've read multiple times on the forum to forward your IP if you want to boost the number of your connections.

I probably don't know what I'm talking about but I'm fairly sure from what I've read there is no need to publish my internet IP so people can connect. :-\


Title: Re: How to forward port 8333 through TOR?
Post by: payb.tc on October 19, 2011, 02:17:34 AM
I have a static network IP address not a static internet IP address.  I'm trying to do this because I've read multiple times on the forum to forward your IP if you want to boost the number of your connections.

I probably don't know what I'm talking about but I'm fairly sure from what I've read there is no need to publish my internet IP so people can connect. :-\

didn't bill gates once say 8 connections should be enough for anybody?


Title: Re: How to forward port 8333 through TOR?
Post by: strictlyfocused on October 19, 2011, 02:47:04 AM
http://forum.bitcoin.org/index.php?topic=23768.msg331131#msg331131

Ive used the info from that post to forward port 8344 (you could choose any port you want) over Tor and through a firewall that only allows port 80 connections.

TL:DR - Use an program called "socat"


Title: Re: How to forward port 8333 through TOR?
Post by: Revalin on October 19, 2011, 09:41:14 AM
I have a static network IP address not a static internet IP address.  I'm trying to do this because I've read multiple times on the forum to forward your IP if you want to boost the number of your connections.

Correct, but that doesn't work with TOR.  There are no port forwards.  There are hidden services, but that's not really what you want.

When you're running in TOR just let it connect outbound and don't worry about trying to boost the number.  You'll still get 8 which is plenty for a personal wallet.


Quote
I probably don't know what I'm talking about but I'm fairly sure from what I've read there is no need to publish my internet IP so people can connect. :-\

BitCoin publishes your IP in IRC and across the BC network so people can connect to you when you have port forwarding set up.



Title: Re: How to forward port 8333 through TOR?
Post by: BookLover on October 19, 2011, 01:40:48 PM
Correct, but that doesn't work with TOR.  There are no port forwards.  There are hidden services, but that's not really what you want.

When you're running in TOR just let it connect outbound and don't worry about trying to boost the number.  You'll still get 8 which is plenty for a personal wallet.

Alright maybe this isn't the best way to boost my connections, but I still need to try some thing because:

I would really like to get more than eight connections because I'm mining. 
For some reason lately I not getting even eight connections and I've already tried other options, for example; I've added about 30 addnode= commands to my bitcoin.conf file.


Title: Re: How to forward port 8333 through TOR?
Post by: BookLover on October 19, 2011, 01:46:19 PM
http://forum.bitcoin.org/index.php?topic=23768.msg331131#msg331131

Ive used the info from that post to forward port 8344 (you could choose any port you want) over Tor and through a firewall that only allows port 80 connections.

TL:DR - Use an program called "socat"

Where did you download socat from?


Title: Re: How to forward port 8333 through TOR?
Post by: Revalin on October 19, 2011, 01:46:52 PM
Why do you need more connections to mine?  If you're mining with a pool you just need one RPC connection from your miner to the pool.

If you're solo mining 8 connections in your client is plenty.  The network propagates transactions very quickly.


Title: Re: How to forward port 8333 through TOR?
Post by: BookLover on October 19, 2011, 02:27:09 PM
I'm doing both.  My pool miners are working just fine.

My problem is I'm having trouble getting ANY connections on my solo server.


Title: Re: How to forward port 8333 through TOR?
Post by: strictlyfocused on October 20, 2011, 01:37:39 AM
http://forum.bitcoin.org/index.php?topic=23768.msg331131#msg331131

Ive used the info from that post to forward port 8344 (you could choose any port you want) over Tor and through a firewall that only allows port 80 connections.

TL:DR - Use an program called "socat"

Where did you download socat from?


http://gd.tuwien.ac.at/gnu/gnu-win32/release/socat/