红联Linux门户
Linux帮助

请帮忙翻译下里面的帮助说明

发布时间:2009-06-24 21:41:26来源:红联作者:mingfeng01
[i=s] 本帖最后由 mingfeng01 于 2009-6-24 21:43 编辑 [/i]

Suppose that you wanted to connect to an IRC server running on barbaz.com, port 6667.

socat TCP4-LISTEN:4242,fork SOCKS4A:localhost:barbaz.com:6667,socksport=9050

Connecting to localhost, port 4242, would then be equivalent to connecting to barbaz.com, port 6667, via Tor.

What interests us most for Tor is that it supports socks4a redirection, allowing your client to connect to an hidden service. Assuming you want to join to an hidden irc server running on foo.onion on port 6667.

You might want to start a local tunnel that forwards connection for local port 4242 to this service using Tor.

socat TCP4-LISTEN:4242,fork SOCKS4A:localhost:foo.onion:6667,socksport=9050
文章评论

共有 5 条评论

  1. sauntor 于 2009-06-25 10:41:39发表:

    3# tvnet

    很专业,俺喜欢! :0)1

  2. mingfeng01 于 2009-06-25 06:41:27发表:

    谢谢firstmustok.和上面的各位.

  3. firstmustok 于 2009-06-25 01:37:18发表:

    假设您想连接到运行在barbaz.com的IRC服务器,并且端口为6667。
    用法如下:
    socat TCP4-LISTEN :4242,fork SOCKS4A :localhost :barbaz.com :6667, socksport=9050
    对本机(localhost),端口为4242的连接,等价与通过 Tor 连接到barbaz.com,端口6667。
    对于 Tor 我们最感兴趣的是它支持socks4a重定向,并允许您的客户端连接到一隐藏的服务。 假设您想要连接到一台运行在foo.onion且端口为6667隐藏的irc服务器。
    你也许想要开启一个通道,使之从本机端口4242使用Tor连接这一服务。使用如下命令:
    socat TCP4-LISTEN :4242,fork SOCKS4A :localhost :foo.onion :6667, socksport=9050

    不是很准确,希望对你有用。

  4. tvnet 于 2009-06-25 00:02:25发表:

    雅虎译的
    假设您想连接到IRC服务器运行在barbaz.com的,口岸6667。

    socat TCP4-LISTEN :4242,叉子SOCKS4A :localhost :barbaz.com :6667, socksport=9050
    对localhost,口岸4242的Connecting,然后与连接到barbaz.com,口岸6667是等效的,通过突岩。

    What感兴趣我们最突岩的是它支持socks4a改变方向,允许您的客户连接到一项暗藏的服务。 假设您想要加入到运行在口岸6667的foo.onion的一台暗藏的irc服务器。

    You也许想要发动使用突岩,批转本机端口4242的连接与这项服务的一个地方隧道。

    socat TCP4-LISTEN :4242,叉子SOCKS4A :localhost :foo.onion :6667, socksport=9050

  5. jiehe 于 2009-06-24 22:45:17发表:

    英语六级估计都不够。