面向初学者的BitTorrent:使用自己的专用跟踪器共享大文件

image

Want to share some large files with a few friends, but worried about how you’ll keep the file transfer private?  Here’s how to use uTorrent as a simple tracker and share files privately with your friends.

想要与一些朋友共享一些大文件,但担心如何将文件传输保密? 以下是将uTorrent用作简单跟踪器并与朋友私下共享文件的方法。

Note: this is the fourth part in our series explaining how BitTorrent works—be sure and read the rest of the series, where we explained what BitTorrent is and how it works, how to create your own torrents, and then how to protect your privacy on BitTorrent.

注意:这是本系列的第四部分,介绍了BitTorrent的工作原理-请确保并阅读本系列的其余部分,我们在其中解释了BitTorrent是什么及其工作原理如何创建自己的种子以及如何保护您的隐私在BitTorrent上

Image by nitot

图片由 nitot

准备:查找公用IP并配置路由器 (Preparation: Find Your Public IP and Configure Your Router)

Before we begin, we’ll need some important information.  First, you’ll need your external IP address.  A very easy way to find this out is to visit WhatIsMyIP.com.  You’ll see your IP address in a large font in the format XXX.XXX.XXX.XXX, and you’ll need to copy that down.

在开始之前,我们需要一些重要的信息。 首先,您需要外部IP地址。 一个简单的发现方法是访问WhatIsMyIP.com 。 您将看到一个大字体的IP地址,格式为XXX.XXX.XXX.XXX,并且需要将其复制下来。

image

If you have a DNS service like DynDNS.com, you can use your DNS redirect URL instead of your IP address.

如果您拥有DynDNS.com之类的DNS服务,则可以使用DNS重定向URL代替IP地址。

Next, you’ll need to find out which port you’re accepting incoming connections on, whether it’s open or not.  Open up uTorrent, and go to Options > Preferences.  Click on the Connections Tab on the right.

接下来,您需要找出接受输入连接的端口,无论该端口是否打开。 打开uTorrent,然后转到选项>首选项。 单击右侧的“连接”选项卡。

Connections Pane

Next to where it says “Port used for incoming connections” you’ll see your port number, so copy that down.  We need to check to see if that port is open so leave uTorrent running, go to the uTorrent Port Checker, plug in your port, and submit.  If all is good, you should see something like this:

在显示“用于传入连接的端口”的旁边,您会看到您的端口号,因此将其复制下来。 我们需要检查该端口是否已打开,因此请保持uTorrent运行,转到uTorrent Port Checker ,插入您的端口,然后提交。 如果一切都很好,您应该会看到类似以下内容的信息:

image

If not, you may need to make some changes to your router configuration.  Lastly, we need to  enable uTorrent’s built-in tracker.  In uTorrent’s preferences, click on the Advanced tab.

如果没有,您可能需要对路由器配置进行一些更改。 最后,我们需要启用uTorrent的内置跟踪器。 在uTorrent的首选项中,单击“高级” 标签。

bt.enable_tracker = true

Click on “bt.enable_tracker” and change the value to True.  Then, click OK and restart uTorrent for the changes to take effect.

单击“ bt.enable_tracker”,然后将值更改为True。 然后,单击“确定”并重新启动uTorrent,以使更改生效。

创建私人种子 (Creating a Private Torrent)

Now that everything is configured and we have all of the important information, let’s create a new private torrent.  Go to File > Create New Torrent.  Essentially, you’re adding your own IP address and port as a valid tracker, as in this screenshot:

现在,所有内容都已配置完毕,并且我们掌握了所有重要信息,让我们创建一个新的私有torrent。 转到文件>创建新种子。 本质上,您要添加自己的IP地址和端口作为有效的跟踪器,如以下屏幕截图所示:

New Torrent settings

As you can see, we put our information under the Trackers section in the following format:

如您所见,我们将信息按照以下格式放在“跟踪器”部分下:

http://ipaddress:port/announce

http:// ipaddress:port / announce

http://localhost:port/announce

http:// localhost:port / announce

The “localhost” portion is a reflexive reference which tells uTorrent that whatever computer it’s running on is also a valid tracker.  Make sure that Private torrent is also checked off.  This prevents sharing of the torrent using other methods such as PEX and DHT.  Now, unless someone has the torrent you created, they cannot download your content.

“本地主机”部分是自反引用,它告诉uTorrent它所运行的任何计算机也是有效的跟踪器。 确保“私人种子”也已选中。 这样可以防止使用其他方法(例如PEX和DHT)共享种子。 现在,除非有人拥有您创建的种子,否则他们将无法下载您的内容。

For some added security, you can force encryption on outgoing connections.  Go to Options > Preferences, then click on BitTorrent.

为了提高安全性,您可以对传出连接强制加密。 转到选项>首选项,然后单击BitTorrent。

Outgoing Protocol Encryption = Forced

Next to “Outgoing,” choose Forced and uncheck “Allow incoming legacy connections.”

在“发送”旁边,选择强制 取消选中“允许传入的旧版连接”。

A few important notes:

一些重要的注意事项:

  • uTorrent MUST be running in order someone to download the torrent from you.

    uTorrent必须正在运行,以便有人从您那里下载种子。
  • Your IP address must not change during seeding (sorry dial-up users).  If you have a DNS redirect, then things should work fine.

    您的IP地址在播种过程中不得更改(对不起拨号用户)。 如果您有DNS重定向,则一切正常。
  • Your port must not change during seeding.

    播种期间不得更改端口。
  • If you forced encryption, your friend’s client must be configured to allow encryption.

    如果您强制加密,则必须将朋友的客户端配置为允许加密。

uTorrent isn’t powerful enough to create a full-blown tracker, but it does work well on a small scale and in our tests it seeded to 10 people without any issues.  It’s perfect for sharing files with some friends without using a public tracker and sacrificing your privacy on both Windows and OS X.  While Transmission doesn’t have this functionality built-in, we’ve heard excellent things about running uTorrent in WINE so our Linux users aren’t left out, either.

uTorrent的功能不足以创建一个完善的跟踪器,但是它在小范围内运行良好,在我们的测试中,它可以播种到10个人,没有任何问题。 它非常适合与一些朋友共享文件,而无需使用公共跟踪器,也不会牺牲Windows和OS X上的隐私。虽然Transmission没有内置此功能,但我们听说过在WINE中运行uTorrent的出色经验,因此我们的Linux用户也没有被排除在外。

Don’t forget to check out our other articles in this series:

不要忘记查看本系列的其他文章:

And, of course, share your own tips and experiences in the comments!

并且,当然,请在评论中分享您自己的提示和经验!

翻译自: https://www.howtogeek.com/howto/33597/bittorrent-for-beginners-share-large-files-using-your-own-private-tracker/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值