Hello,
I am running a tor relay on a home connection. My connection is assigned a new ip as the lease expires every few days. So far I am fixing this my editing my torrc file with the new address value. Are there better ways of handing this?
One thing that puzzled me was that when I first setup my relay it was unable to find the external address of my connection and its log files kept complaining that:
"If x.x.x.x:9030 is not your correct IP address and directory port, please check your relay's configuration"
Obviously it wasn't my ip address, when I looked it up it was from another country. So my question is why is my relay advertising this specific address?
thanks for your time.
I don't think you need to specify an external IP in the torrc file. You can just specify 0.0.0.0:9050 for socks and 0.0.0.0:9030 for directory. Tor will identify if you have a dynamic IP and resync with the network automatically each time it changes. Also make sure it is a relay you are running and not a bridge. A dynamic IP is no good for a bridge.
Tom
On 17 December 2013 05:55, abhiram abhiram.chintangal@gmail.com wrote:
Hello,
I am running a tor relay on a home connection. My connection is assigned a new ip as the lease expires every few days. So far I am fixing this my editing my torrc file with the new address value. Are there better ways of handing this?
One thing that puzzled me was that when I first setup my relay it was unable to find the external address of my connection and its log files kept complaining that:
"If x.x.x.x:9030 is not your correct IP address and directory port, please check your relay's configuration"
Obviously it wasn't my ip address, when I looked it up it was from another country. So my question is why is my relay advertising this specific address?
thanks for your time.
Abhiram Chintangal
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
On Tue, 2013-12-17 at 11:25 +0530, abhiram wrote:
Hello,
I am running a tor relay on a home connection. My connection is assigned a new ip as the lease expires every few days. So far I am fixing this my editing my torrc file with the new address value. Are there better ways of handing this?
You may use a dynamic dns resolver such as freedns.afraid.org, dyn.com or noip.com etc, then you can use your full dns name instead of your current IP address.
Could you expand that it little further, please? Robert
You may use a dynamic dns resolver such as freedns.afraid.org, dyn.com or noip.com etc, then you can use your full dns name instead of your current IP address.
____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
On 18/12/2013 9:20 AM, I wrote:
Could you expand that it little further, please? Robert
You may use a dynamic dns resolver such as freedns.afraid.org, dyn.com or noip.com etc, then you can use your full dns name instead of your current IP address.
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Perform the following:
1. register at freedns.afraid.org 2. choose a domain from the registry[1] and create your subdomain (e.g. myTor.mooo.com) 2. either configure your router to update your IP or download one of the available clients: http://freedns.afraid.org/scripts/freedns.clients.php 3. in your torrc, configure: Address myTor.mooo.com 4. service tor restart
And your relay will automatically resolve your domain (myTor.mooo.com) to your dynamic IP.
On Wednesday 18 December 2013 05:20 AM, Mark Jamsek wrote:
On 18/12/2013 9:20 AM, I wrote:
Could you expand that it little further, please? Robert
You may use a dynamic dns resolver such as freedns.afraid.org, dyn.com or noip.com etc, then you can use your full dns name instead of your current IP address.
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Perform the following:
- register at freedns.afraid.org
- choose a domain from the registry[1] and create your subdomain (e.g.
myTor.mooo.com) 2. either configure your router to update your IP or download one of the available clients: http://freedns.afraid.org/scripts/freedns.clients.php 3. in your torrc, configure: Address myTor.mooo.com 4. service tor restart
And your relay will automatically resolve your domain (myTor.mooo.com) to your dynamic IP.
[1] http://freedns.afraid.org/domain/registry/ _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Great! DDNS service looks like a nice way to make this permanent. The other thing I managed was by enabling upnp in my router, the address discovery takes place automatically.
thanks for the suggestions!
On Thu, 2013-12-19 at 17:35 +0530, abhiram wrote:
Great! DDNS service looks like a nice way to make this permanent. The other thing I managed was by enabling upnp in my router, the address discovery takes place automatically.
thanks for the suggestions!
Though there are choices, I wouldn't go with upnp, it is a security nightmare.
On Tue, Dec 17, 2013 at 11:25:15AM +0530, abhiram wrote:
I am running a tor relay on a home connection. My connection is assigned a new ip as the lease expires every few days. So far I am fixing this my editing my torrc file with the new address value. Are there better ways of handing this?
One thing that puzzled me was that when I first setup my relay it was unable to find the external address of my connection and its log files kept complaining that:
"If x.x.x.x:9030 is not your correct IP address and directory port, please check your relay's configuration"
What program gave that log message? That isn't a log message in Tor. Maybe Vidalia? Unless you're paraphrasing?
Obviously it wasn't my ip address, when I looked it up it was from another country. So my question is why is my relay advertising this specific address?
What operating system, what Tor version, and how did you install it?
I wonder if your /etc/hosts file has a stale address in it, so Tor doesn't try to guess because your computer has already set its IP address (even though it's wrong)?
--Roger
On Tuesday 17 December 2013 11:50 PM, Roger Dingledine wrote:
On Tue, Dec 17, 2013 at 11:25:15AM +0530, abhiram wrote:
I am running a tor relay on a home connection. My connection is assigned a new ip as the lease expires every few days. So far I am fixing this my editing my torrc file with the new address value. Are there better ways of handing this?
One thing that puzzled me was that when I first setup my relay it was unable to find the external address of my connection and its log files kept complaining that:
"If x.x.x.x:9030 is not your correct IP address and directory port, please check your relay's configuration"
What program gave that log message? That isn't a log message in Tor. Maybe Vidalia? Unless you're paraphrasing?
Obviously it wasn't my ip address, when I looked it up it was from another country. So my question is why is my relay advertising this specific address?
What operating system, what Tor version, and how did you install it?
I wonder if your /etc/hosts file has a stale address in it, so Tor doesn't try to guess because your computer has already set its IP address (even though it's wrong)?
--Roger
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Thanks for your response.
I tried two versions of tor, one that came with TBB (.2.3.25) and the other I built using the source package(.2.4.19).
Oh and I am running Arch. I did take a look at hosts file but there weren't any stale entries.
I am hoping that by running tor on my other machine I can rule out problems with old config files.
tor-relays@lists.torproject.org