bittorrent_如何匿名和加密您的BitTorrent流量

bittorrent

bittorrent

7ahgbsdh

Whether you’re trying to dodge an angry government, a connection throttling ISP, or the watchful gaze of media conglomerates, anonymizing and encrypting your BitTorrent traffic can help. Read on to learn how.

无论您是想躲避生气的政府,限制互联网的ISP还是对媒体集团的关注,匿名化和加密BitTorrent流量都可以提供帮助。 继续阅读以了解如何。

Photo by jin.thai.

图片由 jin.thai摄

这是什么,我需要什么? (What Is This and What Do I Need?)

BitTorrent is a form of distributed file sharing. Undistributed file sharing is when you connect to a single source and download a file. When you visit a software repository online, for example, and download a new version of some application you’re engaging in an undistributed file transfer—the file went from their server directly to you.

BitTorrent是一种分布式文件共享形式。 当您连接到单个源并下载文件时,即为未分配文件共享。 例如,当您在线访问软件存储库并下载某个应用程序的新版本时,您正在进行未分发的文件传输-文件从其服务器直接发送到您。

Distributed file sharing changes that model. When you use BitTorrent, a distributed file sharing protocol, you don’t download a file from a single source but instead from any number of sources. Everyone who is part of the swarm of file sharers using the same tracker and sharing the torrent you’re downloading can potentially send you a piece of that file. Your download is no longer between you and a single source but between everyone in the swarm and you. This means anyone can join the torrent swarm and see what files you are downloading and, in turn, uploading—reciprocating to the swarm is part of the BitTorrent model.

分布式文件共享更改了该模型。 使用分布式文件共享协议BitTorrent时,您不会从单个来源下载文件,而是从任何数量的来源下载文件。 每个文件共享者的一部分,使用相同的跟踪器并共享您要下载的torrent,都可以向您发送该文件的一部分。 您的下载不再是在您和一个来源之间,而是在群中的每个人与您之间。 这意味着任何人都可以加入torrent群,并查看您要下载的文件以及依次上传的文件-往返群是BitTorrent模型的一部分。

If that person spying in your torrent activity is a hostile government, your ISP seeking to throttle your connection, or an agent hired by a media conglomerate to monitor BitTorrent networks, you can find yourself in unexpected trouble.

如果监视您的洪流活动的那个人是敌对政府,您的ISP试图节制您的连接,或者是一家媒体集团雇用的代理来监视BitTorrent网络,您可能会遇到意想不到的麻烦。

How can you circumvent such outcomes? By anonymizing and/or encrypting your BitTorrent traffic.

您如何规避这样的结果? 通过匿名和/或加密您的BitTorrent流量。

What are the upsides? Your BitTorrent traffic will be anonymous, the IP the swarm sees will not be your actual IP address. If you choose to encrypt as well as anonymize, even your ISP—the very people with direct access to your bandwidth pipe—won’t be able to see what you’re doing. You’ll be able to use BitTorrent without fear.

有什么好处? 您的BitTorrent流量将是匿名的,群集所看到的IP将不是您的实际IP地址。 如果您选择加密和匿名化,那么甚至您的ISP(直接访问您的带宽管道的人)也将无法看到您在做什么。 您将可以不用担心而使用BitTorrent。

What are the downsides? Proxying/tunneling can slow down your connection and encryption can further slow it down. While many people are perfectly comfortable taking a performance hit in order to better secure their BitTorrent connection, it’s something to be aware of.

不利之处是什么? 代理/隧道连接可能会减慢您的连接速度,而加密可能会进一步减慢连接速度。 虽然许多人都对性能有所改善以更好地确保其BitTorrent连接感到非常自在,但这是需要注意的事情。

Ready to get started? To anonymize and encrypt BitTorrent you’ll need the following:

准备开始了吗? 要匿名化和加密BitTorrent,您需要执行以下操作:

  • For both techniques you’ll need a BitTorrent client with proxy support. We’re going to be using uTorrent on Windows.

    对于这两种技术,您都需要具有代理支持的BitTorrent客户端。 我们将在Windows上使用uTorrent

  • You’ll need a proxy/SSH provider. For this tutorial we’ll be using the popular Canadian BitTorrent proxy provider BTGuard.

    您需要一个代理/ SSH提供程序。 在本教程中,我们将使用流行的加拿大BitTorrent代理提供商BTGuard

  • To encrypt your BitTorrent session you’ll need an additional layer of security in the form of a local proxy server that connects to your encrypted tunnel. We’ll highlight how to use both the BTGuard supplied application and the free application PuTTY to roll your own proxy server.

    要加密您的BitTorrent会话,您将需要连接到加密隧道的本地代理服务器形式的附加安全层。 我们将重点介绍如何同时使用BTGuard提供的应用程序和免费的应用程序PuTTY来滚动您自己的代理服务器。

Our instructions will help you configure any SOCKS proxy to work with uTorrent (or another proxy-friendly BitTorrent client) but we’re going to be setting it up for BTGuard. If you don’t have an anonymous proxy yet, BTGuard is a solid choice and costs a mere $7 a month. Get your proxy information handy or go sign up for a BTGuard account here. before continuing.

我们的说明将帮助您配置任何SOCKS代理以与uTorrent(或另一个对代理友好的BitTorrent客户端)一起使用,但我们将为BTGuard进行设置。 如果您还没有匿名代理,BTGuard是一个不错的选择,每月仅需花费$ 7。 方便获取代理信息,或在此处注册BTGuard帐户 。 在继续之前。

为匿名洪流流量配置uTorrent (Configuring uTorrent for Anonymous Torrent Traffic)

2011-10-11_145756

Run uTorrent. Navigate to Options –> Preferences (or press CTRL+P) to open up the Preferences panel. From within the Preferences panel, navigate to the Connection sub-menu.

运行uTorrent。 导航到选项–>首选项(或按CTRL + P)以打开“首选项”面板。 在“首选项”面板中,导航到“连接”子菜单。

From within the Connection sub-menu, you need to fill out the Proxy Server information. For the Type select SOCKS5, for the Proxy fill in proxy.btguard.com and Port 1025. Check Authentication and fill in your Username and Password (BTGuard users will use the same username and password they created their account with). If you’re using another service besides BTGuard, simply change the previous entries to match your service providers data.

在“连接”子菜单中,您需要填写代理服务器信息。 对于“类型”,选择“ SOCKS5”作为“代理”,填写proxy.btguard.com和端口1025。选中“身份验证”并填写您的用户名和密码(BTGuard用户将使用与其创建帐户时使用的用户名和密码相同)。 如果您正在使用除BTGuard之外的其他服务,只需更改先前的条目以匹配您的服务提供商数据。

Under Authentication check all the boxes, including “Use proxy for hostname lookups”, “Use proxy for peer-to-peer connections”. Make sure to check all the boxes under Proxy Privacy including “Disable all local DNS lookups”, “Disable features that leak identifying information”, and “Disable connections unsupported by the proxy”. Failure to check these options will compromise your anonymity and defeat the whole purpose of using a proxy server.

在“身份验证”下,选中所有框,包括“使用代理进行主机名查找”,“使用代理进行对等连接”。 确保选中“代理隐私”下的所有复选框,包括“禁用所有本地DNS查找”,“禁用泄漏识别信息的功能”和“禁用代理不支持的连接”。 不检查这些选项将损害您的匿名性,并破坏使用代理服务器的全部目的。

Restart uTorrent. If you do not restart uTorrent the Proxy changes will not take effect.

重新启动uTorrent。 如果不重新启动uTorrent,则代理更改将不会生效。

加密您的BitTorrent连接 (Encrypting Your BitTorrent Connection)

Anonymization will protect your identity but, if your ISP is throttle happy, it won’t stop them from detecting and throttling your BitTorrent traffic. If you want the extra security of encrypted traffic and/or your ISP is shaping your traffic and throttling BitTorrent connections, this is the configuration for you.

匿名将保护您的身份,但是,如果您的ISP满意,它不会阻止他们检测和限制您的BitTorrent流量。 如果您想要加密流量的额外安全性和/或您的ISP正在调整流量并限制BitTorrent连接,这就是您的配置。

BTGuard offers a free encryption proxy that is preconfigured. In order to use the BTGuard encryption tool, first download it from the BTGuard servers here. Install the application to C:\BTGUARD (this step is extremely important, if you install it to another directory the application will not operate properly). Once you’ve installed it, run the application.

BTGuard提供了一个预先配置的免费加密代理。 为了使用BTGuard加密工具,请先从BTGuard服务器下载。 将应用程序安装到C:\ BTGUARD(此步骤非常重要,如果将其安装到另一个目录,则该应用程序将无法正常运行)。 安装后,运行该应用程序。

Open up your uTorrent application once again and navigate back to the Preferences menu. Within the Preferences menu replace proxy.btguard.com with 127.0.0.1 (the address of the local computer). Leave all the other settings, including your login information, the same. Restart uTorrent for the changes to take effect. You’ll still be connected to the BTGuard servers but the traffic between uTorrent and those servers will be encrypted.

再次打开uTorrent应用程序,然后导航回到“首选项”菜单。 在“首选项”菜单中,将proxy.btguard.com替换为127.0.0.1(本地计算机的地址)。 将所有其他设置(包括您的登录信息)保持不变。 重新启动uTorrent,以使更改生效。 您仍将连接到BTGuard服务器,但是uTorrent和这些服务器之间的流量将被加密。

Alternatively, if you wish to use an SSH service to connect to a foreign server and anonymize your traffic that way, you’ll need to use PuTTY to connect to the SSH service and create a local proxy for uTorrent’s traffic to flow through. Note, if you’re already using BTGuard you might as well use their encryption too and skip this step. If you’re using another service and want to use their encrypted SSH tunnel, keep reading.

另外,如果您希望使用SSH服务连接到外部服务器并以这种方式匿名化流量,则需要使用PuTTY连接到SSH服务并创建本地代理,以使uTorrent的流量通过。 请注意,如果您已经在使用BTGuard,则最好也使用它们的加密,然后跳过此步骤。 如果您正在使用其他服务,并且想使用其加密的SSH隧道,请继续阅读。

Putty is a free Telnet/SSH client for Windows and Linux that allows you to easily route your traffic through an encrypted tunnel. Download and install PuTTY. Run the application for the first time. The first screen you’ll see is the Session screen. Here you’ll need to enter the address of your SSH provider. The default SSH port is 22; only change this port # if your SSH provider indicates you should.  Make sure SSH is checked. Go ahead and give your session a name so that you can save it for future use.

Putty是适用于Windows和Linux的免费Telnet / SSH客户端,可让您轻松地通过加密隧道路由流量。 下载并安装PuTTY。 第一次运行该应用程序。 您将看到的第一个屏幕是“会话”屏幕。 在这里,您需要输入SSH提供商的地址。 默认的SSH端口是22;默认的SSH端口是22。 仅在您的SSH提供程序指示您应该更改此端口号时,才可以。 确保已检查SSH。 继续并为您的会话命名,以便您保存它以备将来使用。

2011-10-11_154822

Navigate to Connections –> SSH. In the SSH sub-menu you need to create a new port configuration. Put a port number in the Source box (it can be any number that isn’t in conflict with your computer’s existing port structure, we used 12345) and then check Dynamic and Auto. Press Add to add the port.

导航到连接–> SSH。 在SSH子菜单中,您需要创建一个新的端口配置。 在“源”框中输入一个端口号(它可以是与计算机现有端口结构不冲突的任何数字,我们使用的是12345),然后选中“动态”和“自动”。 按添加以添加端口。

2011-10-11_153949

Navigate back to the session menu and click Save to save your configuration. Then click Open to launch the SSH tunnel to your SSH host and login with your login credentials.

导航回到会话菜单,然后单击“保存”以保存您的配置。 然后单击“打开”以启动到您的SSH主机的SSH隧道,并使用您的登录凭据登录。

Once you’ve logged in via PuTTY with your login credentials you can now use PuTTY as your SOCKS server. Open uTorrent and the Preferences menu. Configure things exactly as you would for BTGuard except for the IP address put in 127.0.0.1 (the proxy server is on your computer), change the port number to 12345, and leave the Authentication section blank.

使用您的登录凭据通过PuTTY登录后,现在可以将PuTTY用作SOCKS服务器。 打开uTorrent和“首选项”菜单。 完全按照与BTGuard相同的方式进行配置,除了127.0.0.1中的IP地址(代理服务器在您的计算机上)之外,将端口号更改为12345,并将“身份验证”部分保留为空白。

测试您的BitTorrent连接的匿名性 (Testing The Anonymity of Your BitTorrent Connection)

2011-10-11_160143

When you set up your web browser with a proxy server, it’s easy to visit a site like WhatIsMyIP to see if you’re surfing from the new IP address. What about BitTorrent? It’s not quite so easy. Thankfully there’s a service designed to help you check the IP address your Torrent client is broadcasting.

当您使用代理服务器设置Web浏览器时,很容易访问WhatIsMyIP之类的网站来查看您是否正在从新IP地址进行浏览。 那BitTorrent呢? 这不是那么容易。 值得庆幸的是,有一项服务旨在帮助您检查Torrent客户端正在广播的IP地址。

Once you’ve configured uTorrent using the above techniques (either anonymous but not encrypted with BTGuard, anonymous and encrypted with BTGuard, or anonymous and encrypted with your SSH provider of choice), it’s time to visit CheckMyTorrentIP. At CheckMyTorrentIP, click the Generate Torrent tab. Save the resulting torrent file to your computer and load it in uTorrent. It should look like this:

使用上述技术配置uTorrent(匿名但未使用BTGuard加密,匿名和BTGuard加密,或者匿名和已选择的SSH提供程序加密)之后,就该访问CheckMyTorrentIP了 。 在CheckMyTorrentIP上,单击“生成种子”选项卡。 将生成的种子文件保存到您的计算机,然后将其加载到uTorrent中。 它看起来应该像这样:

2011-10-11_150452

Click on the torrent and then look down in the information panel at the bottom of the screen. Click on the Trackers tab. In that tab you will get information back from the Tracker (in this case the CheckMyTorrentIP tracker.

单击种子,然后在屏幕底部的信息面板中向下看。 单击“跟踪器”选项卡。 在该选项卡中,您将从跟踪器(在本例中为CheckMyTorrentIP跟踪器)获取信息。

2011-10-11_150231

See that IP address? That should be the IP address of your new proxy service and not the IP address of your internet connection. If you see the address of your internet connection and not the proxy server you need to go back and double check your configuration.

看到那个IP地址吗? 那应该是新代理服务的IP地址,而不是 Internet连接的IP地址。 如果您看到互联网连接的地址,而不是代理服务器的地址,则需要返回并仔细检查您的配置。

You can also visit CheckMyTorrentIP and click on the Check IP tab to see all the IP addresses your torrent file has connected from:

您也可以访问CheckMyTorrentIP并单击“检查IP”选项卡,以查看您的torrent文件已从以下地址连接的所有IP地址:

2011-10-11_160049

There you have it. If the IP addresses are those provided by your proxy/SSH provider and not your home IP address then you’re in the clear. All your BitTorrent traffic will be routed through that IP address and your private IP address will never be broadcast to the greater internet!

你有它。 如果IP地址是您的代理/ SSH提供商提供的,而不是您的家庭IP地址,那么您就可以了。 您所有的BitTorrent流量都将通过该IP地址进行路由,并且您的私有IP地址将永远不会广播到更大的Internet!



Have a tip or trick for secure and anonymous torrenting? Let’s hear about it in the comments.

有安全或匿名种子下载的技巧或窍门吗? 让我们在评论中听到它。

翻译自: https://www.howtogeek.com/76801/how-to-anonymize-and-encrypt-your-bittorrent-traffic/

bittorrent

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值