Difference between revisions of "Get HighID"

From AMule Project FAQ
Jump to: navigation, search
(Translate into Simplified Chinese)
m (Add a link to Simplified Chinese page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<center>
 
<center>
[[Get_HightID|English]] |
+
'''English''' |
 
[[Get_HighID-de|Deutsch]] |  
 
[[Get_HighID-de|Deutsch]] |  
 
[[Get_HighID-es|Espa&ntilde;ol]] |
 
[[Get_HighID-es|Espa&ntilde;ol]] |
 
[[Get_HighID-it|Italiano]] |
 
[[Get_HighID-it|Italiano]] |
'''简体中文'''
+
[[Get_HighID-cn |简体中文]]
 
</center>
 
</center>
  
== 基本描述 ==
+
== Basic description ==
aMule使用三个端口与其他客户端和服务器传输数据:
+
aMule uses three ports to transfer data with other clients and servers:
# [[standard client TCP port|标准客户端TCP端口]];
+
#the [[standard client TCP port]];
# [[extended client UDP port|扩展客户端UDP端口]];以及
+
#the [[extended client UDP port]]; and
# [[extended server requests UDP port|扩展服务器请求UDP端口]].
+
#the [[extended server requests UDP port]].
  
理想情况下,这三个端口对于ED2K和Kademlia网络中的任意一个都应该全部可用;最基本的要求根据不同的网络会有所不同,如下所示。
+
Ideally, all three ports should be accessible for both ED2K and Kademlia networks; the minimum requirements differ for each network as follows.
  
===ED2K 网络===
+
===ED2K network===
即使这些端口都不可用,您依然可以连接到该网络。对于ED2K连接,如果''标准客户端TCP''端口(第一项)不可用,您会得到一个[[Low ID|低ID]]而且会明显感觉到传输速度很慢。当然,该端口可用(第一项)是您获得[[High ID|高ID]]状态所必须的;这会在ED2K网络中得到最快的传输速度。极力推荐使''扩展服务器请求UDP''端口(第三项)可用,因为这会提供给您ED2K网络中相关文件的有价值的统计和信息。
+
You can still connect to this network even if none of these ports is accessible. For ED2K connection, if the ''standard client TCP'' port (No. 1) is not accessible, you will receive a [[Low ID]] and experience significantly lower transfer speeds. However, access to this port (No. 1) is all you need to attain [[High ID]] status; this will provide the highest transfer speeds possible on the ED2K network. Making the ''extended server requests UDP'' port (No. 3) accessible too is highly recommended, because this will provide you with valuable statistics and information about files on the ED2k network.
  
===Kademlia网络===
+
===Kademlia===
对于此网络, ''标准客户端 TCP''以及''扩展客户端 UDP''端口(第一项和第二项)必须全部可用。如果不符合要求,您肯定不会连接到Kademlia网络。极力建议在ED2K网络中打开''扩展客户端UDP端口''(第二项),因为这会给您提供其他客户端和文件的有价值的统计以及信息。
+
For this network, both ''standard client TCP'' and ''extended client UDP'' ports (Numbers 1 and 2) must be accessible. If they are not, you won't be able to connect to Kademlia at all. Accessing the ''extended client UDP port'' (No. 2) on the ED2K network is highly recommended, because this will provide you with valuable statistics and information about other clients and files.
  
==怎么做==
+
==How to do it==
===确定哪些端口===  
+
===Identify which ports to forward===
使三个端口全部可用是最好的,也许可能不行,但严格来说,是要求这么做。打开aMule然后打开 [[Usage_Preferences|设置(Preferences)]] --> 连接(Connection)。查看''标准客户端TCP端口''一栏,''扩展客户端UDP端口''一栏和默认的''扩展服务器请求UDP端口(TCP+3)''的数字。这三个是aMule使用的端口。确定“不可用”没有被选中。
+
Making all three ports accessible is highly desirable, even if not all are, strictly speaking, required. Start aMule and open the [[Usage_Preferences|Preferences]] --> Connection window. See the ''Standard client TCP Port'' box, the ''Extended client UDP Port'' box and the predetermined number for the ''UDP port for extended server requests (TCP+3)''. These three are the ports aMule uses. Ensure that "disable" is not ticked.
  
您可以在[http://www.amule.org/testport.php aMule's Test Port page]测试端口是否可用(也叫做“打开”)。得到“not accessible”这个结果则表示以下两种情况的一种:
+
You can test whether a port is "accessible" (also known as "open") at [http://www.amule.org/testport.php aMule's Test Port page]. A "not accessible" result means one of the following two scenarios:
*您在路由器的内侧,路由器阻挡了一个或多个相关的端口的传入连接。
+
*You're behind a router that is blocking incoming connections to one or more of the relevant ports.
*您在防火墙的内侧,防火墙阻挡了一个或多个相关的端口(实际上,当路由器阻挡端口时是在“扮演”着防火墙的角色)。这个防火墙可能在您的电脑上——例如''iptables ''进程——或者在您电脑之外的什么地方,或许是您连接互联网之间的网关.
+
*You're behind a firewall that is blocking one or more of the relevant ports (actually, when a router blocks ports, it's ''acting'' as a firewall). This firewall could be on your computer—for example, the ''iptables'' daemon—or it could be somewhere outside your computer, probably a gateway through which you connect to the internet.
  
===打开端口===
+
===Opening the ports===
*'''防火墙相关:'''如果您有防火墙,请您的管理员打开相关端口或者阅读手册查看‘’您‘’是否可以接触防火墙的配置。(如果您在家,您没有管理员,这当然需要您自己亲自动手)。这有太多的防火墙需要描述,所以查看[[Firewall|Firewall article]]
+
*'''Firewall issue:''' If you have a firewall, ask your administrator to open the ports, or read the manual to see whether ''you'' can access the firewall's configuration. (If you access aMule from home, you have no administrator, of course, and will need to do this yourself.) There are too many firewalls to describe here, so check the [[Firewall|Firewall article]].
*'''路由器相关:'''如果您在路由器的内侧,请您的管理员允许到您的电脑上的端口(参考上面确定哪些端口需要允许)。如果您有权限进行路由器配置,您可以自己亲自操作,步骤如下:
+
*'''Router issue:''' If you're behind a router, ask your administrator to forward the ports to your computer (see above to know which ports to forward). If you have access to your router's configuration, you can do this yourself as follows:
#取消您电脑上的DHCP(不是在路由器上!),在局域网中得到一个固定IP;这可以通过''/etc/interfaces'' 中的配置文件完成(参考 ''man interfaces''
+
#Disable DHCP in your computer (not in the router!) to get a static IP address in the LAN; this is done through the ''/etc/interfaces'' configuration file (see ''man interfaces'')
#在路由器的配置中,允许aMule会用到的连接您电脑的IP(在局域网中使用“静态IP”,就像上面描述)的端口然后应用对路由器的更改;您可能需要重启路由器。
+
#In the router's configuration, forward the ports aMule should use to your IP (using "static IP" in the LAN, as described above) and apply the changes in the router; you might have to restart the router.
  
您的ISP服务商会给您提供您的路由器地址,您可以通过浏览器如 ''Internet Explorer'', ''Firefox'' 或者 ''Safari''与其''通话''。首先查看 http://192.168.1.1 这个地址是否可以。对于需要在路由器配置中允许端口的确切地方因不同的路由器而有很大不同,而且有上百种不同的路由器模型,所以这里就不进行赘述。尽管如此,对于大多数,您可以查找某些内容如“局域网配置""NAT配置”,“防火墙”,“端口”,或者"安全",但是您的路由器很可能不同!参考 [[Firewall|Routers article]]查看不同的路由器是如何配置;您或许很幸运就能在那找到您的路由器。
+
Your ISP's help-desk should be able to advise you of the address of your router, which you can "speak to" via a browser such as ''Internet Explorer'', ''Firefox'' or ''Safari''. First see if http://192.168.1.1. works. The exact place where ports can be forwarded in your router's configuration system varies greatly from one router to another, and there are hundreds of different router models, so this can't be explained here. However, as a general rule, you should search for some section called "LAN configuration", "NAT configuration", "Firewall", "Ports" or "Security", but your router could be very different! See the [[Firewall|Routers article]] to see how different routers are set up; maybe you'll be lucky and find your router listed there.
  
另外,如果您认为是路由器阻挡了端口,您可能需要查看  http://portforward.com/ ,一个提供了很多路由器指导的网站,通常会解决您的问题。在[http://www.ed2k-serverboard.de/diesel/edonkey/datenbank.html Diesel´s router-database] (rem.: german) 也提到了一些路由器设置问题。
+
Also, if you think the router is what is blocking the ports, you may wish to consult http://portforward.com/, a site that offers a walkthrough guide for a lot of routers, and often allows you to succeed. Some router settings also are mentioned in [http://www.ed2k-serverboard.de/diesel/edonkey/datenbank.html Diesel´s router-database] (rem.: german).
==注意 ==
+
 
对不起,没有更简单的方法了。 如何打开端口就这些内容了 :)同样适用于 [[eMule]], [[Shareaza]], [[lphant]], [[Napster]], [http://morpheus.com Morpheus], [[Kazaa]], [http://www.apache.org Apache], FTP 服务器, ...
+
== Notes ==
 +
No, there's no easier way. That's how port forwarding goes :) Same for [[eMule]], [[Shareaza]], [[lphant]], [[Napster]], [http://morpheus.com Morpheus], [[Kazaa]], [http://www.apache.org Apache], FTP Server, ...

Latest revision as of 08:43, 4 September 2011

English | Deutsch | Español | Italiano | 简体中文

Basic description

aMule uses three ports to transfer data with other clients and servers:

  1. the standard client TCP port;
  2. the extended client UDP port; and
  3. the extended server requests UDP port.

Ideally, all three ports should be accessible for both ED2K and Kademlia networks; the minimum requirements differ for each network as follows.

ED2K network

You can still connect to this network even if none of these ports is accessible. For ED2K connection, if the standard client TCP port (No. 1) is not accessible, you will receive a Low ID and experience significantly lower transfer speeds. However, access to this port (No. 1) is all you need to attain High ID status; this will provide the highest transfer speeds possible on the ED2K network. Making the extended server requests UDP port (No. 3) accessible too is highly recommended, because this will provide you with valuable statistics and information about files on the ED2k network.

Kademlia

For this network, both standard client TCP and extended client UDP ports (Numbers 1 and 2) must be accessible. If they are not, you won't be able to connect to Kademlia at all. Accessing the extended client UDP port (No. 2) on the ED2K network is highly recommended, because this will provide you with valuable statistics and information about other clients and files.

How to do it

Identify which ports to forward

Making all three ports accessible is highly desirable, even if not all are, strictly speaking, required. Start aMule and open the Preferences --> Connection window. See the Standard client TCP Port box, the Extended client UDP Port box and the predetermined number for the UDP port for extended server requests (TCP+3). These three are the ports aMule uses. Ensure that "disable" is not ticked.

You can test whether a port is "accessible" (also known as "open") at aMule's Test Port page. A "not accessible" result means one of the following two scenarios:

  • You're behind a router that is blocking incoming connections to one or more of the relevant ports.
  • You're behind a firewall that is blocking one or more of the relevant ports (actually, when a router blocks ports, it's acting as a firewall). This firewall could be on your computer—for example, the iptables daemon—or it could be somewhere outside your computer, probably a gateway through which you connect to the internet.

Opening the ports

  • Firewall issue: If you have a firewall, ask your administrator to open the ports, or read the manual to see whether you can access the firewall's configuration. (If you access aMule from home, you have no administrator, of course, and will need to do this yourself.) There are too many firewalls to describe here, so check the Firewall article.
  • Router issue: If you're behind a router, ask your administrator to forward the ports to your computer (see above to know which ports to forward). If you have access to your router's configuration, you can do this yourself as follows:
  1. Disable DHCP in your computer (not in the router!) to get a static IP address in the LAN; this is done through the /etc/interfaces configuration file (see man interfaces)
  2. In the router's configuration, forward the ports aMule should use to your IP (using "static IP" in the LAN, as described above) and apply the changes in the router; you might have to restart the router.

Your ISP's help-desk should be able to advise you of the address of your router, which you can "speak to" via a browser such as Internet Explorer, Firefox or Safari. First see if http://192.168.1.1. works. The exact place where ports can be forwarded in your router's configuration system varies greatly from one router to another, and there are hundreds of different router models, so this can't be explained here. However, as a general rule, you should search for some section called "LAN configuration", "NAT configuration", "Firewall", "Ports" or "Security", but your router could be very different! See the Routers article to see how different routers are set up; maybe you'll be lucky and find your router listed there.

Also, if you think the router is what is blocking the ports, you may wish to consult http://portforward.com/, a site that offers a walkthrough guide for a lot of routers, and often allows you to succeed. Some router settings also are mentioned in Diesel´s router-database (rem.: german).

Notes

No, there's no easier way. That's how port forwarding goes :) Same for eMule, Shareaza, lphant, Napster, Morpheus, Kazaa, Apache, FTP Server, ...