-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I just set up a VPS on PulseServers as I noticed quite a few running relays had mostly good things to say about the service. So Far the people operating the servers seem very cooperative and responsive. Anyway I've been running a middle relay for 1.5 years and know the "ropes" pretty well, however a VPS is new to me. After setting up Tor and tor-arm on the VPS I'm not able to connect with this error: unable to reconnect (connection refused. Is the ControlPort Enabled?) I've edited ~/home/.arm/torrc and /etc/tor/torrc un-commenting the ControlPort 9052 and all the other typical ports, etc.. Obviously I'm not able to forward or enable ports on the VPS, so do I need to ask the admin to make some changes?
Thanks
Kurt Besig wrote:
I just set up a VPS on PulseServers as I noticed quite a few running relays had mostly good things to say about the service. So Far the people operating the servers seem very cooperative and responsive. Anyway I've been running a middle relay for 1.5 years and know the "ropes" pretty well, however a VPS is new to me. After setting up Tor and tor-arm on the VPS I'm not able to connect with this error: unable to reconnect (connection refused. Is the ControlPort Enabled?) I've edited ~/home/.arm/torrc and /etc/tor/torrc un-commenting the ControlPort 9052 and all the other typical ports, etc.. Obviously I'm not able to forward or enable ports on the VPS, so do I need to ask the admin to make some changes?
The arm process needs to be either root's or _tor's (assuming that the tor process uses the _tor user). It's better not to use root, as it's unsafe. So, this will likely work:
sudo -u _tor arm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/2/2015 3:06 PM, Michael McConville wrote:
Kurt Besig wrote:
I just set up a VPS on PulseServers as I noticed quite a few running relays had mostly good things to say about the service. So Far the people operating the servers seem very cooperative and responsive. Anyway I've been running a middle relay for 1.5 years and know the "ropes" pretty well, however a VPS is new to me. After setting up Tor and tor-arm on the VPS I'm not able to connect with this error: unable to reconnect (connection refused. Is the ControlPort Enabled?) I've edited ~/home/.arm/torrc and /etc/tor/torrc un-commenting the ControlPort 9052 and all the other typical ports, etc.. Obviously I'm not able to forward or enable ports on the VPS, so do I need to ask the admin to make some changes?
The arm process needs to be either root's or _tor's (assuming that the tor process uses the _tor user). It's better not to use root, as it's unsafe. So, this will likely work:
sudo -u _tor arm
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
I use debian_tor as my tor group, but I don't think that's the issue.
Kurt Besig wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/2/2015 3:06 PM, Michael McConville wrote:
Kurt Besig wrote:
I just set up a VPS on PulseServers as I noticed quite a few running relays had mostly good things to say about the service. So Far the people operating the servers seem very cooperative and responsive. Anyway I've been running a middle relay for 1.5 years and know the "ropes" pretty well, however a VPS is new to me. After setting up Tor and tor-arm on the VPS I'm not able to connect with this error: unable to reconnect (connection refused. Is the ControlPort Enabled?) I've edited ~/home/.arm/torrc and /etc/tor/torrc un-commenting the ControlPort 9052 and all the other typical ports, etc.. Obviously I'm not able to forward or enable ports on the VPS, so do I need to ask the admin to make some changes?
The arm process needs to be either root's or _tor's (assuming that the tor process uses the _tor user). It's better not to use root, as it's unsafe. So, this will likely work:
sudo -u _tor arm
I use debian_tor as my tor group, but I don't think that's the issue.
Did you try it (sudo -u debian_tor arm)? Worth a shot.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/2/2015 7:09 PM, Michael McConville wrote:
Kurt Besig wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/2/2015 3:06 PM, Michael McConville wrote:
Kurt Besig wrote:
I just set up a VPS on PulseServers as I noticed quite a few running relays had mostly good things to say about the service. So Far the people operating the servers seem very cooperative and responsive. Anyway I've been running a middle relay for 1.5 years and know the "ropes" pretty well, however a VPS is new to me. After setting up Tor and tor-arm on the VPS I'm not able to connect with this error: I've edited ~/home/.arm/torrc and /etc/tor/torrc un-commenting the ControlPort 9052 and all the other typical ports, etc.. Obviously I'm not able to forward or enable ports on the VPS, so do I need to ask the admin to make some changes?
The arm process needs to be either root's or _tor's (assuming that the tor process uses the _tor user). It's better not to use root, as it's unsafe. So, this will likely work:
sudo -u _tor arm
I use debian_tor as my tor group, but I don't think that's the issue.
Did you try it (sudo -u debian_tor arm)? Worth a shot. _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
That's the cmd that leads to: unable to reconnect (connection refused.
Is the ControlPort Enabled?) in tor-arm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/2/2015 4:54 PM, I wrote:
Doesn't Arm look for 9051?
Robert
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
By default, but it can be any port you edit into the rc.
Doesn't Arm look for 9051?
By default, but it can be any port you edit into the rc.
Apologies for the rudimentary question but did you try 'arm --interface 9051'? I assume by 'edit into the rc' that you've changed the default via the armrc but if I was in your shoes I'd give the interface argument a quick try. Also, you can try running 'arm --debug' to possibly get a little more information.
Cheers! -Damian
Doesn't Arm look for 9051?
By default, but it can be any port you edit into the rc.
Apologies for the rudimentary question but did you try 'arm --interface 9051'? I assume by 'edit into the rc' that you've changed the default via the armrc but if I was in your shoes I'd give the interface argument a quick try. Also, you can try running 'arm --debug' to possibly get a little more information.
Cheers! -Damian
Baka, typo - meant 'arm --interface 9052' since you're changing away from the default.
On 3 Dec 2015, at 09:44, Kurt Besig kbesig@socal.rr.com wrote:
After setting up Tor and tor-arm on the VPS I'm not able to connect with this error: unable to reconnect (connection refused. Is the ControlPort Enabled?) I've edited ~/home/.arm/torrc and /etc/tor/torrc un-commenting the ControlPort 9052 and all the other typical ports, etc..
I don't have enough information to be sure what's going on:
What control port is tor actually connected to? (Try "lsof -p <PID>" or "netstat")
Can "telnet" or "nc" connect to the port?
Does your VPS provider block connections from localhost to localhost by default? (This is an unusual config, that may be why the advice you received didn't help.)
What else have your tried?
Obviously I'm not able to forward or enable ports on the VPS, so do I need to ask the admin to make some changes?
Possibly. Some VPSs let you modify the firewall settings yourself.
Tim
Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP 968F094B
teor at blah dot im OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/3/2015 7:04 PM, Tim Wilson-Brown - teor wrote:
On 3 Dec 2015, at 09:44, Kurt Besig <kbesig@socal.rr.com mailto:kbesig@socal.rr.com> wrote:
After setting up Tor and tor-arm on the VPS I'm not able to connect with this error: unable to reconnect (connection refused. Is the ControlPort Enabled?) I've edited ~/home/.arm/torrc and /etc/tor/torrc un-commenting the ControlPort 9052 and all the other typical ports, etc..
I don't have enough information to be sure what's going on:
What control port is tor actually connected to? (Try "lsof -p <PID>" or "netstat")
Can "telnet" or "nc" connect to the port?
Does your VPS provider block connections from localhost to localhost by default? (This is an unusual config, that may be why the advice you received didn't help.)
What else have your tried?
Obviously I'm not able to forward or enable ports on the VPS, so do I need to ask the admin to make some changes?
Possibly. Some VPSs let you modify the firewall settings yourself.
Tim
Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP 968F094B
teor at blah dot im OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Thank you Tim for an intelligent response, I'll look into your suggestions.
tor-relays@lists.torproject.org