如何配置tor-arm?

JoK*_*KeR 6 tor

在 14.04 上配置包中的arm命令的正确方法是什么tor-arm?因为每次我运行arm它都会返回:

Connection refused. Is the ControlPort enabled? 
Run Code Online (Sandbox Code Playgroud)

我在谷歌搜索时没有碰巧遇到一些好的解决方案,我找到了这个教程,但仍然没有运气,我想我在某个地方遗漏了一点。

小智 3

首先,您必须配置 TOR\n为此:\n我们可以在 /etc/tor/torrc 中找到配置文件。它\xe2\x80\x99s由root拥有,所以我们\xe2\x80\x99ll必须sudo来编辑它:

\n\n
$ sudo nano /etc/tor/torrc\n
Run Code Online (Sandbox Code Playgroud)\n\n

我们\xe2\x80\x99ll取消注释我们需要的选项,并将它们设置为适当的值,最终得到这样的结果:

\n\n
ORPort 9001\nDirPort 9030\nExitPolicy reject *:*\nNickname trustytohr\nRelayBandwidthRate 1 MB\nRelayBandwidthBurst 2 MB\nAccountingStart month 1 00:00\nAccountingMax 100 GB\nDisableDebuggerAttachment 0**\n
Run Code Online (Sandbox Code Playgroud)\n\n

最重要的设置可能是ORPort,DirPortExitPolicy

\n\n

重启 TOR 并运行 arm 后

\n