<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zitev</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zitev"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/Zitev"/>
		<updated>2026-04-05T19:34:39Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Firewall</id>
		<title>Firewall</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Firewall"/>
				<updated>2009-06-01T18:38:56Z</updated>
		
		<summary type="html">&lt;p&gt;Zitev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
'''English''' | &lt;br /&gt;
[[Firewall-de|Deutsch]] | &lt;br /&gt;
[[Firewall-es|Espa&amp;amp;ntilde;ol]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Routers ==&lt;br /&gt;
Here is a list of routers and how to set them up to forward their ports to [[aMule]].&lt;br /&gt;
&lt;br /&gt;
In the descriptions below, examples are using the default ports (that is, ''4662'' for the [[Standard client TCP port]], ''4672'' for the [[Extended client UDP port]] and ''4665'' for the [[Extended server requests UDP port]].&lt;br /&gt;
&lt;br /&gt;
=== Linksys WRT54GSV4 ===&lt;br /&gt;
#Open your web browser, ''http://192.168.1.1'' and log into it&lt;br /&gt;
#Go under ''Gaming applications''&lt;br /&gt;
#Now forward the ports to your computer:&lt;br /&gt;
##[[Standard client TCP port]]&lt;br /&gt;
###Change both ''Ports start'' and ''End'' to ''4662''&lt;br /&gt;
###In the next field set ''TCP''&lt;br /&gt;
###In the field, the last 3 digits of your LAN [[IP address|IP]]&lt;br /&gt;
##[[Extended client UDP port]]&lt;br /&gt;
###Change both ''Ports start'' and ''End'' to ''4672''&lt;br /&gt;
###In the next field set ''UDP''&lt;br /&gt;
###In the field, the last 3 digits of your LAN [[IP address|IP]]&lt;br /&gt;
##[[Extended server requests UDP port]]&lt;br /&gt;
###Change both ''Ports start'' and ''End'' to ''4665''&lt;br /&gt;
###In the next field set ''UDP''&lt;br /&gt;
###In the field, the last 3 digits of your LAN [[IP address|IP]]&lt;br /&gt;
#Now check ''Enable''&lt;br /&gt;
#And click ''Save settings''&lt;br /&gt;
#Then restart aMule :)&lt;br /&gt;
&lt;br /&gt;
=== [http://www.linksys.com Linksys] Router configuration ===&lt;br /&gt;
This portion of the wiki applies only to stock versions of the [http://www.linksys.com Linksys] firmware. If you are using a [http://www.linksys.com Linksys] router running a variant of the [[GPL]] code, please follow the guides directly above as you are most likely using iptables.&lt;br /&gt;
&lt;br /&gt;
Log into your [http://www.linksys.com Linksys] router. After successfully logging in, click on the main menu link labeled '''Applications &amp;amp; Gaming''' after which you should see an additional submenu list for this section. Make sure you are under the correct submenu by clicking '''Port Range Forwarding'''.&lt;br /&gt;
&lt;br /&gt;
At this point, you should see a table with 6 columns. The columns are: ''Application'', ''Start to'', ''End'', ''Protocol'', ''IP Address'', ''Enable''.&lt;br /&gt;
&lt;br /&gt;
'''The Application column'''&amp;lt;br&amp;gt;&lt;br /&gt;
Friendly name for the service. Put anything you want here, [[aMule]] being suggested.&lt;br /&gt;
&lt;br /&gt;
'''The Start to -&amp;gt; End column'''&amp;lt;br&amp;gt;&lt;br /&gt;
Start and end ports. '''Start to''' should be ''4662'' but, in the end, this should reflect whatever port you have defined in [[aMule]] ''Preferences'' -&amp;gt; ''Connection'' -&amp;gt; ''Client TCP Port''. '''End''' should be ''4672'' but, in the end, this should reflect whatever port you have defined in [[aMule]] ''Preferences'' -&amp;gt; ''Connection'' -&amp;gt; ''eMule extended UDP Port''.&lt;br /&gt;
&lt;br /&gt;
I suggest using 2 separate entries for each port unless this is not possible.&lt;br /&gt;
&lt;br /&gt;
'''The Protocol column'''&amp;lt;br&amp;gt;&lt;br /&gt;
Protocol to listen for. If you use one line to open your [[aMule]] ports, set this option to '''Both'''. If you use a separate entry line for each, select option '''TCP''' for [[FAQ_eD2k-Kademlia#What_does_each_port_do?|Client TCP Port]] and option '''UDP''' for [[eMule]] [[FAQ_eD2k-Kademlia#What_does_each_port_do?|extended UDP Port]].&lt;br /&gt;
&lt;br /&gt;
'''The IP Address column'''&amp;lt;br&amp;gt;&lt;br /&gt;
Internal [[IP address]] to forward requests to. This is typically the internal (private) [[IP address]] of the computer that will use [[aMule]].&lt;br /&gt;
&lt;br /&gt;
'''The Enable column'''&amp;lt;br&amp;gt;&lt;br /&gt;
Enable rule. You'll need to check this in order to enable your [[aMule]] rules.&lt;br /&gt;
&lt;br /&gt;
After adding your rule, make sure you save your settings. You can verify whether your rules work by [http://www.amule.org/testport.php testing your ports].&lt;br /&gt;
&lt;br /&gt;
=== [http://www.dlink.com DLink] Router configuration ===&lt;br /&gt;
Log in to your [http://www.dlink.com DLink] router.  There are three steps to take to enable your [[aMule]] [[port]]s.&lt;br /&gt;
&lt;br /&gt;
'''IP Address setup'''&lt;br /&gt;
&lt;br /&gt;
In the Home tab, click the DHCP button.  This page displays the current [[IP address]]es assigned by the router, both static and dynamic. Look for the name or MAC address of the computer you'll be running [[aMule]] on. If your computer is receiving dynamically assigned [[IP address]]es, you will have to change your settings every so often if your [[IP address]] changes. To avoid this, use the Static DHCP section, and perform the following steps:&lt;br /&gt;
&lt;br /&gt;
*'''Name''': Type in the name of your computer here, could be anything&lt;br /&gt;
*'''IP''': The [[IP address]] you want the router to always assign to your computer&lt;br /&gt;
*'''MAC Address''': The MAC address of your computer. You should be already connected to the router, so you can find your computer in the ''DHCP Client'' drop-down menu, and click clone, to populate this number&lt;br /&gt;
*Click ''Apply''&lt;br /&gt;
&lt;br /&gt;
Now your computer will always receive the same [[IP address]].&lt;br /&gt;
&lt;br /&gt;
Now click on the ''Advanced'' tab, and there are two areas that need to be updated:&lt;br /&gt;
&lt;br /&gt;
'''Virtual Server'''&lt;br /&gt;
*Click the ''Virtual Server'' button. This page forwards external requests to a specific internal [[IP address]] in your network&lt;br /&gt;
*Click ''Enabled''&lt;br /&gt;
*Enter a name in the ''Name'' entry box, eg ''aMule TCP''&lt;br /&gt;
*Enter your static [[IP address]] in the ''Private IP'' box&lt;br /&gt;
*Select [http://www.ietf.org/rfc/rfc793.txt TCP] in ''Protocol type''&lt;br /&gt;
*Private [[port]] is the [[port]] that the router will forward the requests to on your computer. This can be anything, a good value is the default [[aMule]] [http://www.ietf.org/rfc/rfc793.txt TCP] [[port]], ''4662''&lt;br /&gt;
*Public [[port]] is the [[port]] that the router will receive requests on. Again, a good value is the [[aMule]] [http://www.ietf.org/rfc/rfc793.txt TCP] [[port]] of ''4662''&lt;br /&gt;
*Schedule is the times at which the port is open. Select ''Always'', or whatever times you wish&lt;br /&gt;
*Click ''Apply''&lt;br /&gt;
&lt;br /&gt;
'''Applications'''&lt;br /&gt;
*Click the ''Applications'' button. This page allows you to enter a range of [[port]]s to open for application usage&lt;br /&gt;
*Click ''Enabled''&lt;br /&gt;
*Enter the [http://www.ietf.org/rfc/rfc793.txt TCP] [[port]] in the first ''Trigger Port'' box, a good value being ''4662''&lt;br /&gt;
*Select ''Trigger Type'' as [http://www.ietf.org/rfc/rfc793.txt TCP]&lt;br /&gt;
*In ''Public Port'', enter the range from your [[aMule]] [http://www.ietf.org/rfc/rfc793.txt TCP] [[port]] to your [[aMule]] [http://www.faqs.org/rfcs/rfc768.html UDP] [[port]], usually ''4662''-''4672''&lt;br /&gt;
*Select ''UDP'' as the ''Public Type''&lt;br /&gt;
*Click ''Apply''&lt;br /&gt;
&lt;br /&gt;
You should now be all set, assuming that your computer firewall is setup to allow access on the selected [[port]]s.&lt;br /&gt;
&lt;br /&gt;
'''Alternate Configuration (ie instead of Applications) for D-Link '''&lt;br /&gt;
*Go back to virtual server and set 2 other virtual servers for the UDP ports&lt;br /&gt;
(It works only that way on my D-Link DI-804HV)&lt;br /&gt;
&lt;br /&gt;
*Virtual server aMuleUDP4665 - select your IP address and UDP and 4665 (port)&lt;br /&gt;
&lt;br /&gt;
*Virtual Server aMuleUDP4672 - select your ip address and UDP and 4672 (port)&lt;br /&gt;
&lt;br /&gt;
(disable the above amule applications if you did try and it do not work).&lt;br /&gt;
Then you shoudl have all arrows green ( and 3 virtual servers running for amule, 1 for TCP and 2 for UDP).&lt;br /&gt;
&lt;br /&gt;
'''Another Alternate Configuration (using Firewall rules) for D-Link (tested on D-Link DI-624) '''&lt;br /&gt;
*Click on ''Advanced'' tab then click on ''Firewall''. This page can be used to setup firewall rules directly '''Without ANY further settings in ''Virtual server'' or ''Applications'' tabs'''&lt;br /&gt;
&lt;br /&gt;
*Click ''Enabled''&lt;br /&gt;
&lt;br /&gt;
*Enter your preferred name for the rule (must be unique)&lt;br /&gt;
&lt;br /&gt;
*Select ''WAN'' as source interface and ''*'' for source IP Range Start (IP Range End can be left blank)&lt;br /&gt;
&lt;br /&gt;
*Select ''LAN'' as destination interface and enter the static IP of your PC running aMule for destination IP Range Start (IP Range End can be left blank)&lt;br /&gt;
&lt;br /&gt;
*Select ''*'' as destination protocol&lt;br /&gt;
&lt;br /&gt;
*Enter ''4662-4672'' as destination port range&lt;br /&gt;
&lt;br /&gt;
*Select your preferred scheduling&lt;br /&gt;
&lt;br /&gt;
*Click apply&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT NOTE''': disable all existing entries for aMule you may have specified in ''Virtual server'' or ''Applications'' tabs.&lt;br /&gt;
&lt;br /&gt;
*Reboot your router to be sure new configuration is applied (''Tools'' -&amp;gt; ''Misc'').&lt;br /&gt;
&lt;br /&gt;
=== Netgear router ===&lt;br /&gt;
First, go to your router control page, locate at [http://routerlogin.net/start.htm http://routerlogin.net/start.htm]. Then, on the left side of the screen, under the Advanced group of options, click &amp;quot;Port Forwarding/Port Triggering.&amp;quot; Click the &amp;quot;Add Custom Service&amp;quot; button, name it aMule1 (or whatever), set it as a TCP-only forwarding, with the starting and ending port being 4662 and the server IP address being whatever local address you're using (probably 192.168.1.2, if you're the only one connected to the router, but check), and click Apply. Repeat the process with aMule2 and aMule 3, using UDP-only ports for both and starting and ending ports of 4665 and 4672, respectively. (That is, the same starting and ending port within aMule2 and aMule3, but aMule2=4665 and aMule3=4672.) Make sure that iptables is properly set up on the machine which will run aMule (as above), and you're done.&lt;br /&gt;
&lt;br /&gt;
Not all Netgear routers are the same, evidently, because on the DG834G it's more complicated.  Go to the router's configuration page:&lt;br /&gt;
# Select '''Services''' from the '''''Content Filtering''''' menu&lt;br /&gt;
# Add your three rules (1 x TCP, 2 x UDP) based on your aMule Connection preferences&lt;br /&gt;
# Select '''Firewall Rules''' from the same menu&lt;br /&gt;
# Add all three rules as ''Inbound Services''&lt;br /&gt;
# Add both UDP rules as ''Outbound Services'' (only one of these is crucial but I add the other just in case)&lt;br /&gt;
&lt;br /&gt;
=== TRENDnet router TW100  ===&lt;br /&gt;
First connect to your router: usually open a browser and type directly the router IP address: such as 192.168.0.1 (or 192.168.1.1), then the login box should appear ( depending on your router config) - if so answer the message log message with ‘admin’ as username and nothing as password (or you password if &lt;br /&gt;
you did set one). &lt;br /&gt;
&lt;br /&gt;
Then On the left side Menu, Select Internet and thenselect Advanced Setup (Advanced Internet). Then click/select, [Special Applications]: &lt;br /&gt;
&lt;br /&gt;
Add or replace  2 lines in the Special Applications list: &lt;br /&gt;
(Try not to remove something which you are using and which is already enabled) &lt;br /&gt;
(just add the new application for amule at the end in position Nr. 5 or Nr.6 in the list  for example): &lt;br /&gt;
&lt;br /&gt;
Create the entries as follows: &lt;br /&gt;
&lt;br /&gt;
amuleU4665 TCP-4665-4665  UDP-4665-4665  &lt;br /&gt;
&lt;br /&gt;
amuleU4672 TCP-4672-4672 UDP-4672-4672 ) &lt;br /&gt;
&lt;br /&gt;
(In my Application List the “amuleU4665” and “amule4672” are in Nr1 and Nr2 but it can be in any position in  your list). &lt;br /&gt;
&lt;br /&gt;
-&amp;gt;Click on the small box [ ] on the left for both lines of your amuleUxxxx applications  to enable the special  applications to work! &lt;br /&gt;
&lt;br /&gt;
Then click on [Save], then click on [Close] &lt;br /&gt;
&lt;br /&gt;
Then click on [Save] again on the page – Advanced Internet . &lt;br /&gt;
&lt;br /&gt;
The next and last step is to click on the “Virtual Servers” menu on the left side, then the “Virtual Server  page will appear”: &lt;br /&gt;
&lt;br /&gt;
Add a new virtual server named like: AmuleTCP &lt;br /&gt;
&lt;br /&gt;
Select your computer* IP Address: in the DropDown Menu &lt;br /&gt;
&lt;br /&gt;
Select: TCP &lt;br /&gt;
&lt;br /&gt;
Write the 4662 Port and 4662 port (both fields the same port)&lt;br /&gt;
&lt;br /&gt;
Then [Add as new server] &lt;br /&gt;
&lt;br /&gt;
Then you are set to have High ID and Kad ON. Finished with the Low-ID, yellow arrows and Kad Firewalled. Now all you arrows should be green and you should have access to Kad and ed2K.  &lt;br /&gt;
 &lt;br /&gt;
''Important Note:''&lt;br /&gt;
*Be careful in the case that your computer is using the DHCP protocol (ie to obtain IP  address from the router). &lt;br /&gt;
The router might not give all the time the same IP address to your computer. &lt;br /&gt;
(normally it does so... but sometimes it can change). &lt;br /&gt;
You have two solutions if you see that you have a low- ID then: (2 solutions)&lt;br /&gt;
&lt;br /&gt;
1) log back to the router go back to the virtual server, select the amuleTCP virtual server that you created and just reselect you computer in the “PC(server)” entry box. And select [Update this server] and log out. It should do the job. &lt;br /&gt;
&lt;br /&gt;
Or an alternative solution : &lt;br /&gt;
&lt;br /&gt;
2)You can Set-up your computer with a fixed IP address if you want. If this problem of low-ID happens too often because you DHCP router gives different IP address to your computer, then you can put your  computer in static mode or DHCP reserved address. But you need to know your DNS server(s) before to do that – so check with your ISP which are your DNS servers. Then configure your computer to run with a fixed DHCP/ Static address / Manual Address (name depends what OS you are running). For that go to your network settings and put the P address you want, and the  gateway (you router IP address) and the DNS from your ISP – All this to be done ion the Other / PC Database (Admin) page of the router.&lt;br /&gt;
&lt;br /&gt;
'''In the case that your TRENDNet router crashes or stop forwarding any''' traffic from/to your aMule computer . (it happened to me), then :&lt;br /&gt;
 &lt;br /&gt;
- reduce the Connection limit (in Preferences-&amp;gt;Connection) to 100 (or to 50)&lt;br /&gt;
- reduce the &amp;quot;Max new connections / 5 secs&amp;quot; (in Preferences-&amp;gt;Core Tweaks) to 10 (or to 5) &lt;br /&gt;
Stop amule and restart aMule so that configuration will be validated.&lt;br /&gt;
&lt;br /&gt;
Make some tests to find your best config. It should give more stability to your router and avoid your router to crash ( ie you would have to reset and/or turn it on and off). This might be true for other routers as well(?). &lt;br /&gt;
&lt;br /&gt;
''(TRENDnet Firewall from RFV - --[[User:Robert364|Robert364]] 17:05, 5 Nov 2006 (CET))&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
=== OpenBSD  ===&lt;br /&gt;
The firewall that comes with OpenBSD is called packetfilter (pf). To get aMule running, you must add the following rules to your pf.conf (/etc/pf.conf):&lt;br /&gt;
&lt;br /&gt;
  # aMule TCP and UDP&lt;br /&gt;
  rdr pass on egress proto tcp to port 4662 -&amp;gt; IPADDR&lt;br /&gt;
  rdr pass on egress proto udp to port 4672 -&amp;gt; IPADDR&lt;br /&gt;
  rdr pass on egress proto udp to port 4665 -&amp;gt; IPADDR&lt;br /&gt;
&lt;br /&gt;
IPADDR is the internal ip-address of the computer in your network that runs aMule.&lt;br /&gt;
Pf guesses automatically the name of the outter interface (connected with the internet), thanks to the keyword &amp;quot;egress&amp;quot; (this means: &amp;quot;the interface where goes  the default route&amp;quot;, and it's updated dynamicaly in case of change).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example (IP of computer running aMule is '''192.168.1.10'''):&lt;br /&gt;
&lt;br /&gt;
  # aMule TCP and UDP&lt;br /&gt;
  rdr pass on egress proto tcp to port 4662 -&amp;gt; '''192.168.1.10'''&lt;br /&gt;
  rdr pass on egress proto udp to port 4672 -&amp;gt; '''192.168.1.10'''&lt;br /&gt;
  rdr pass on egress proto udp to port 4665 -&amp;gt; '''192.168.1.10'''&lt;br /&gt;
&lt;br /&gt;
Of course, the computer running aMule must also have access to the internet so add the following rules too:&lt;br /&gt;
&lt;br /&gt;
  nat on egress from IPADDR to any -&amp;gt; (egress)&lt;br /&gt;
&lt;br /&gt;
IPADDR is the internal ip-address of the computer in your network that runs aMule.&lt;br /&gt;
&lt;br /&gt;
Example (like above):&lt;br /&gt;
&lt;br /&gt;
  nat on egress from '''192.168.1.10''' to any -&amp;gt; (egress)&lt;br /&gt;
&lt;br /&gt;
To activate the changed configuration, reboot or execute the following command:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  pfctl -f /etc/pf.conf&lt;br /&gt;
&lt;br /&gt;
In order to have the firewall automatically loaded at boot :&lt;br /&gt;
&lt;br /&gt;
  echo PF=yes &amp;gt;&amp;gt; /etc/rc.conf.local&lt;br /&gt;
&lt;br /&gt;
To give KAD a better connection than &amp;quot;firewalled&amp;quot; put the following at the beginning of the NAT section of pf.conf (because NAT rules work on the first matching rule in the list, unlike the rest of pf.conf):&lt;br /&gt;
&lt;br /&gt;
  no nat on egress proto udp from '''192.168.1.10''' port 4672 to any&lt;br /&gt;
&lt;br /&gt;
See [[FAQ eD2k-Kademlia#Why does Kademlia still say it is firewalled?|the FAQ]] on &amp;quot;Why does Kademlia still say it is firewalled?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
If You have another type of router, check the correct A-Mule (or E-Mule) NAT-settings for Your modell on this site: http://www.portforward.com/&lt;/div&gt;</summary>
		<author><name>Zitev</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Ed2k_links_handling</id>
		<title>Ed2k links handling</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Ed2k_links_handling"/>
				<updated>2009-01-03T10:52:24Z</updated>
		
		<summary type="html">&lt;p&gt;Zitev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
'''English''' | &lt;br /&gt;
[[Ed2k_links_handling-de|Deutsch]] | &lt;br /&gt;
[[Ed2k_links_handling-nl|Nederlands]] | &lt;br /&gt;
[[Ed2k_links_handling-ko_KR|Korean]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The way to make [[aMule]] handle your [[ed2k link|ed2k links]] on your favorite web browser will depend on which web browser you use and which operating system you have installed. So, here's a list of mini-HowTos for each of the most popular web browsers and operating systems.&lt;br /&gt;
&lt;br /&gt;
Have in mind that everywhere on this document, ''/path/to/ed2k'' should be replaced with ''/usr/local/bin/ed2k'', ''/usr/bin/ed2k'', ''c:\Program Files\aMule\ed2k.exe'' or whatever, depending on your own system's configuration.&lt;br /&gt;
&lt;br /&gt;
= Local handling of ed2k links =&lt;br /&gt;
== GNU/Linux ==&lt;br /&gt;
As a general idea, in most [http://www.kernel.org Linux] systems, self-compiled [[aMule]]s will install the [[FAQ_ed2k_command|ed2k]] utility in ''/usr/local/bin/ed2k'', while package-installed [[aMule]]s will install it in ''/usr/bin/ed2k''. As an exception, it is known that [http://www.opensuse.org SuSE] packages install it in ''/usr/local/bin/ed2k''.&lt;br /&gt;
&lt;br /&gt;
If you have installed Debian or Ubuntu '''you must install''' &amp;quot;'''amule-utils'''&amp;quot;, and &amp;quot;'''amule-ed2k'''&amp;quot; to get this way working.&lt;br /&gt;
&lt;br /&gt;
=== [http://www.mozilla.org/products/firefox Firefox] 2 and 3 (or later)===&lt;br /&gt;
Handling ED2k links in Firefox can be configured in two ways: either for an individual user, or for all users of the computer.&lt;br /&gt;
&lt;br /&gt;
==== Configuration for a single user ====&lt;br /&gt;
*Insert ''about:config'' in the address bar&lt;br /&gt;
&lt;br /&gt;
*Right click on the list, select '''New''', then '''Boolean'''; insert ''network.protocol-handler.external.ed2k'' as '''Preference Name''' and ''true'' as '''Value'''&lt;br /&gt;
&lt;br /&gt;
*Now another right click, select '''New''' and '''String'''; insert ''network.protocol-handler.app.ed2k'' as '''Preference Name''' and ''/path/to/ed2k'' (path to where the file is installed on your system) as '''Value'''.&lt;br /&gt;
&lt;br /&gt;
For Firefox 3 and higher only, you should also:&lt;br /&gt;
&lt;br /&gt;
*Right click on the list, select '''New''', then '''Boolean'''; insert ''network.protocol-handler.expose.ed2k'' as '''Preference Name''' and ''false'' as '''Value'''&lt;br /&gt;
&lt;br /&gt;
After that, click over an ed2k link, and Firefox should ask which app you want to use to open the link. Choose /usr/local/bin/ed2k and it should work.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ed2k-ff3.png]]&lt;br /&gt;
&lt;br /&gt;
==== System-wide configuration ====&lt;br /&gt;
*Having root privileges, open the file ''/usr/share/firefox/greprefs/all.js'' (or ''/usr/local/share/firefox/greprefs/all.js'') in a text editor&lt;br /&gt;
&lt;br /&gt;
*Add the following lines at the end of the file:&lt;br /&gt;
 // ED2K link handling&lt;br /&gt;
 pref(&amp;quot;network.protocol-handler.external.ed2k&amp;quot;, true);&lt;br /&gt;
 pref(&amp;quot;network.protocol-handler.app.ed2k&amp;quot;, &amp;quot;/path/to/ed2k&amp;quot;);&lt;br /&gt;
Substitute the &amp;quot;/path/to/ed2k&amp;quot; string with the program's real path.&lt;br /&gt;
&lt;br /&gt;
For Firefox 3 and higher only:&lt;br /&gt;
*Add yet another line to the ''all.js''file:&lt;br /&gt;
 pref(&amp;quot;network.protocol-handler.expose.ed2k&amp;quot;, false);&lt;br /&gt;
&lt;br /&gt;
After saving changes, restart the browser. After clicking over an ed2k link, Firefox should ask which app you want to use to open the link. Choose /usr/local/bin/ed2k and it should work.&lt;br /&gt;
&lt;br /&gt;
=== [http://www.opera.com Opera]  ===&lt;br /&gt;
&lt;br /&gt;
In [http://www.opera.com Opera] go to ''Tools -&amp;gt; Preferences -&amp;gt; Programms -&amp;gt; Add...''&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;Protocol&amp;quot; field enter ''ed2k''&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;Open with another application&amp;quot; field enter ''/path/to/ed2k''&lt;br /&gt;
&lt;br /&gt;
[[Image:Ed2k-op.png]]&lt;br /&gt;
&lt;br /&gt;
=== [http://www.konqueror.org Konqueror] ===&lt;br /&gt;
To have ed2k links work from [http://www.konqueror.com Konqueror] you have to add a protocol-file to the directory with the other protocol-files. You can find this directory by searching for file names ending with ''.protocol''. To search run ''`find /usr -name &amp;quot;*.protocol&amp;quot;`'' or ''`find /opt -name &amp;quot;*.protocol&amp;quot;`''. If you're not sure about the directory where KDE is installed you can even put ''/'' as search path.&lt;br /&gt;
&lt;br /&gt;
If the search was successful, create a file named like ''ed2k.protocol'' in the mentioned directory:&lt;br /&gt;
 [Protocol]&lt;br /&gt;
 exec=/path/to/ed2k &amp;quot;%u&amp;quot;&lt;br /&gt;
 protocol=ed2k&lt;br /&gt;
 input=none&lt;br /&gt;
 output=none&lt;br /&gt;
 helper=true&lt;br /&gt;
 listing=false&lt;br /&gt;
 reading=false&lt;br /&gt;
 writing=false&lt;br /&gt;
 makedir=false&lt;br /&gt;
 deleting=false&lt;br /&gt;
&lt;br /&gt;
Now just restart [http://www.konqueror.org Konqueror].&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' You might get a security warning. don't worry. it is just warning you that the link is being sent to an external application.&lt;br /&gt;
&lt;br /&gt;
'''NOTE2:''' If after clicking ''OK'' on the security warning the link is still not being sent to [[aMule]], just right-click on the [[ed2k link]] and tell [http://www.konqueror.org Konqueror] to open it in a new window/tab.&lt;br /&gt;
&lt;br /&gt;
=== [http://galeon.sourceforge.net Galeon] ===&lt;br /&gt;
&lt;br /&gt;
Execute the following three commands to create the appropriate ''gconf'' keys:&lt;br /&gt;
&lt;br /&gt;
*''gconftool-2 -t string -s /desktop/gnome/url-handlers/ed2k/command &amp;quot;/usr/bin/ed2k \&amp;quot;%s\&amp;quot;&amp;quot;''&lt;br /&gt;
*''gconftool-2 -t bool -s /desktop/gnome/url-handlers/ed2k/enabled true''&lt;br /&gt;
*''gconftool-2 -t bool -s /desktop/gnome/url-handlers/ed2k/needs_terminal false''&lt;br /&gt;
&lt;br /&gt;
Replace &amp;quot;''/usr/bin/ed2k''&amp;quot; above with the path and name of the ''ed2k'' executable on your system.&lt;br /&gt;
&lt;br /&gt;
Uninstalling this protocol handler is similarly simple:&lt;br /&gt;
*''gconftool-2 -u /desktop/gnome/url-handlers/ed2k --recursive-unset''&lt;br /&gt;
&lt;br /&gt;
=== [http://xray.sai.msu.ru/~karpov/links-hacked Links] ===&lt;br /&gt;
(Probably this will work for the usual links and/or [[ed2k link|elinks]], too)&lt;br /&gt;
&lt;br /&gt;
add to ''url.c'' behind the lines about telnet and tn3270:&lt;br /&gt;
  ''--snip''&lt;br /&gt;
  ''{&amp;quot;ed2k&amp;quot;, 0, NULL, ed2k_func, 0, 0, 0},''&lt;br /&gt;
  ''--snap''&lt;br /&gt;
&lt;br /&gt;
add to ''links.h'' behind the definitions of /* mailto.c */:&lt;br /&gt;
  ''--snip''&lt;br /&gt;
  ''void ed2k_func(struct session *, unsigned char *);''&lt;br /&gt;
  ''--snap''&lt;br /&gt;
&lt;br /&gt;
add to ''mailto.c'' at the end:&lt;br /&gt;
  ''--snip''&lt;br /&gt;
  ''void ed2k_func(struct session *ses, unsigned char *url)''&lt;br /&gt;
  ''{''&lt;br /&gt;
  ''tn_func(ses, url, options_get(&amp;quot;network_program_ed2k&amp;quot;), TEXT(T_ED2K), TEXT(T_BAD_ED2K_URL));''&lt;br /&gt;
  ''}''&lt;br /&gt;
  ''--snap''&lt;br /&gt;
&lt;br /&gt;
add to ''options_register.c'' behind telnet and tn3270:&lt;br /&gt;
  ''--snip''&lt;br /&gt;
  ''register_option_char(&amp;quot;network_program_ed2k&amp;quot;, TEXT(T_ED2K_PROG),NULL,2);''&lt;br /&gt;
  ''--snap''&lt;br /&gt;
&lt;br /&gt;
add to ''intl/*.lng'' behind &lt;br /&gt;
  ''&amp;quot;T_TN3270_PROG&amp;quot;: T_ED2K_PROG, &amp;quot;ed2k program&amp;quot;,'' (or whatever that is in your language), behind&lt;br /&gt;
  ''&amp;quot;T_TN3270&amp;quot;: T_ED2K, &amp;quot;ed2k&amp;quot;,'' and behind &lt;br /&gt;
  ''&amp;quot;T_BAD_TN3270_URL&amp;quot;: T_BAD_ED2K_URL'' (I guess you've got the picture)&lt;br /&gt;
&lt;br /&gt;
If you want to automatize this stuff, execute the following commands:&lt;br /&gt;
  ''cd intl''&lt;br /&gt;
  ''for l in *.lng; do''&lt;br /&gt;
    ''cp $l $l.bak''&lt;br /&gt;
    ''cat $l.bak | sed -e &amp;quot;/T_TN3270_PROG*/aT_ED2K_PROG\, \&amp;quot;ed2k program\&amp;quot;\,&amp;quot; \''&lt;br /&gt;
     ''-e &amp;quot;/T_TN3270,\ */aT_ED2K\, \&amp;quot;ed2k\&amp;quot;\,&amp;quot; \''&lt;br /&gt;
     ''-e &amp;quot;/T_BAD_TN3270_URL*/aT_BAD_ED2K_URL\, \&amp;quot;Bad ed2k url\&amp;quot;\,&amp;quot; &amp;gt; $l''&lt;br /&gt;
  ''done''&lt;br /&gt;
  &lt;br /&gt;
Anyway, run afterwards before recompiling links-hacked:&lt;br /&gt;
  ''./synclang''&lt;br /&gt;
  ''cd ..''&lt;br /&gt;
&lt;br /&gt;
Now you can compile with&lt;br /&gt;
  ''./configure'' (add your favourite options here) ''&amp;amp;&amp;amp;''&lt;br /&gt;
  ''make &amp;amp;&amp;amp;''&lt;br /&gt;
  ''make install''&lt;br /&gt;
&lt;br /&gt;
Because links somewhat malforms the urls, we need a small bash script handler:&lt;br /&gt;
  ''cat &amp;gt; /usr/bin/ed2k4links.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;''&lt;br /&gt;
  ''#!/bin/bash''&lt;br /&gt;
  ''ed2k $(echo &amp;quot;ed2k://$1&amp;quot; | sed s/_/\|/g)''&lt;br /&gt;
  ''EOF''&lt;br /&gt;
  ''chmod a+x /usr/bin/ed2k4links.sh''&lt;br /&gt;
&lt;br /&gt;
Do not forget to setup links (Options-&amp;gt;Network Options-&amp;gt;Mail and Telnet Programs) to call our ''ed2k4links.sh'' for [[ed2k link]]s:&lt;br /&gt;
  ''ed2k4links.sh %''&lt;br /&gt;
&lt;br /&gt;
Attention: The Percent Mark is important! Now links should work with [[ed2k link]]s.&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
To make Windows aware of the ed2k link protocol we need to add some keys to the registry. Create a file called ed2k.reg and add this code:&lt;br /&gt;
 REGEDIT4&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k]&lt;br /&gt;
 @=&amp;quot;URL: ed2k Protocol&amp;quot;&lt;br /&gt;
 &amp;quot;URL Protocol&amp;quot;=&amp;quot;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\DefaultIcon]&lt;br /&gt;
 @=&amp;quot;C:\\Program Files\\aMule\\amulegui.exe&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\shell]&lt;br /&gt;
 @=&amp;quot;open&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\shell\open]&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\shell\open\command]&lt;br /&gt;
 @=&amp;quot;\&amp;quot;C:\\Program Files\\aMule\\ed2k \&amp;quot;%1\&amp;quot;&amp;quot;&lt;br /&gt;
Save the file and run it (double click) to add these keys to the registry.&lt;br /&gt;
&lt;br /&gt;
=== [http://www.microsoft.com/windows/ie Internet Explorer] ===&lt;br /&gt;
Internet Explorer will recognize ed2k links with just the changes in the registry.&lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
Adapted from Ken's post in the [http://forum.amule.org/index.php?topic=5679.msg30209#msg30209 forum].&lt;br /&gt;
&lt;br /&gt;
# Run aMule at least once&lt;br /&gt;
# Run Safari (even if you normally use Firefox or another browser)&lt;br /&gt;
# Browse to a page with an ed2k link that you want to download&lt;br /&gt;
# Drag the link to the location field at the top of the window&lt;br /&gt;
# The OS will present a dialog asking if you want to allow a program to run to handle the link.  Allow it.&lt;br /&gt;
&lt;br /&gt;
Now, the program that helps aMule handle ed2k links is known to the system.&lt;br /&gt;
&lt;br /&gt;
=== Safari ===&lt;br /&gt;
If you use Safari, you will have to drag the link to the location field every time.  For unclear reasons, Safari will not process ed2k (or other non-Apple protocol) links if you click on them.&lt;br /&gt;
&lt;br /&gt;
=== Firefox ===&lt;br /&gt;
If you use Firefox, clicking on an ed2k link will work. The first time, for security purposes, Firefox will present a dialog asking if you want to allow the helper program to run. (Yes, even though the OS already asked you the same question.) After that, it will work just as you would expect.&lt;br /&gt;
&lt;br /&gt;
= Remote handling of ed2k links =&lt;br /&gt;
You can also handle links remotely, which means that you click over an [[ed2k link]] in a browser somewhere in the world and it gets into your home's [[aMule]] queue. It works by using [[aMuleCMD]] instead of using the [[ed2k command]].&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
Instead of using the [[ed2k command]], use the following as the command to use:&lt;br /&gt;
&lt;br /&gt;
''/'''path'''/'''to'''/amulecmd -h $server -P $pw -c &amp;quot;Add %u&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Obviously, you'll have to replace ''$server'' and ''$pw'' with your server's [[IP address|IP]] (or [http://www.webopedia.com/TERM/D/DNS.html DNS]) and your [[External Connections]] password.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' In [http://www.mozilla.org Firefox], it is not possible to start a command with parameters. An easy solution is a shell script with the command described above. You only have to replace %u with $1. This shell script must be executable (chmod +x ed2k.sh) and defined as external ed2k app in Firefox.&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
Make sure aMule is installed with the [[aMuleCMD]] option checked.&lt;br /&gt;
&lt;br /&gt;
We need a batch script to handle the ed2k links from the browser, and we need to add some keys to the registry to make the browser recognize the ed2k links.&lt;br /&gt;
&lt;br /&gt;
Create a file named '''ed2k_remote.bat''' containing the following code:&lt;br /&gt;
 @echo off&lt;br /&gt;
 set link=%1&lt;br /&gt;
 for /f &amp;quot;useback tokens=*&amp;quot; %%a in ('%link%') do set link=%%~a&lt;br /&gt;
 &amp;quot;c:\Program Files\aMule\amulecmd.exe&amp;quot; /h '''server''' /P '''pass''' /c &amp;quot;add %link%&amp;quot;&lt;br /&gt;
Don't forget to replace '''server''' and '''pass''' with your data and save the file in your aMule directory ''C:\Program Files\aMule''.&lt;br /&gt;
&lt;br /&gt;
Create a file named '''ed2k_remote.reg''' containing the following code:&lt;br /&gt;
 REGEDIT4&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k]&lt;br /&gt;
 @=&amp;quot;URL: ed2k Protocol&amp;quot;&lt;br /&gt;
 &amp;quot;URL Protocol&amp;quot;=&amp;quot;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\DefaultIcon]&lt;br /&gt;
 @=&amp;quot;C:\\Program Files\\aMule\\amulegui.exe&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\shell]&lt;br /&gt;
 @=&amp;quot;open&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\shell\open]&lt;br /&gt;
 &lt;br /&gt;
 [HKEY_CLASSES_ROOT\ed2k\shell\open\command]&lt;br /&gt;
 @=&amp;quot;\&amp;quot;C:\\Program Files\\aMule\\ed2k_remote.bat\&amp;quot; \&amp;quot;%1\&amp;quot;&amp;quot;&lt;br /&gt;
Save the file and run it (double click) to add these keys to the registry.&lt;br /&gt;
&lt;br /&gt;
=== Internet Explorer ===&lt;br /&gt;
You should be OK with just the changes to the registry and the batch script in your aMule directory.&lt;br /&gt;
&lt;br /&gt;
=== Firefox ===&lt;br /&gt;
The first time you click an ed2k link in Firefox you will get the following dialog:&lt;br /&gt;
&lt;br /&gt;
[[Image:Firefox ed2k link.PNG]]&lt;br /&gt;
&lt;br /&gt;
Tick the Remember box and click OK.&lt;br /&gt;
&lt;br /&gt;
=== Opera ===&lt;br /&gt;
Open the preferences window and click the Programs tab&lt;br /&gt;
&lt;br /&gt;
[[Image:Opera preferences programs.PNG]]&lt;br /&gt;
&lt;br /&gt;
Click the Add... button&lt;br /&gt;
&lt;br /&gt;
Make Opera aware of the ed2k link protocol with these settings:&lt;br /&gt;
&lt;br /&gt;
[[Image:Opera_protocols_ed2k.PNG]]&lt;/div&gt;</summary>
		<author><name>Zitev</name></author>	</entry>

	</feed>