Amule: Difference between revisions

From miki
Jump to navigation Jump to search
Line 1: Line 1:
== Firewall ==
== Firewall ==
* !!! there is 3 ports to open: TCP 4662, UDP 4672, UDP 4665 (=standard TCP+3)
* !!! there is 3 ports to open: '''TCP 4911''', '''UDP 4672''', '''UDP 4914''' (=standard TCP+3)
** Default TCP is 4662 (and UDP 4665), but changed to TCP 4911 / UDP 4914 (TCP+3) to prevent blocking from some ISP.
** Configured ADSL box to forward all ports 4500-4999 (TCP+UDP) to my machine.
* ''eD2k'' works well, but can't connect to ''Kad'' and/or aMule always says ''Firewalled''.
* ''eD2k'' works well, but can't connect to ''Kad'' and/or aMule always says ''Firewalled''.
* Configured ADSL box to forward all ports 4500-4999 (TCP+UDP) to my machine.
* Changed default TCP to 4911.
* Some reference pages:
* Some reference pages:
** [http://www.amule.org/wiki/index.php/FAQ_eD2k-Kademlia FAQ eD2k-Kademlia]
** [http://www.amule.org/wiki/index.php/FAQ_eD2k-Kademlia FAQ eD2k-Kademlia]

Revision as of 16:42, 23 January 2009

Firewall

  • !!! there is 3 ports to open: TCP 4911, UDP 4672, UDP 4914 (=standard TCP+3)
    • Default TCP is 4662 (and UDP 4665), but changed to TCP 4911 / UDP 4914 (TCP+3) to prevent blocking from some ISP.
    • Configured ADSL box to forward all ports 4500-4999 (TCP+UDP) to my machine.
  • eD2k works well, but can't connect to Kad and/or aMule always says Firewalled.
  • Some reference pages:

Privacy

MoBlock

iplist

Installation

tar -xvfj libnfnetlink-0.0.39.tar.bz2
cd libnfnetlink-0.0.39
./configure --prefix=/usr              # install libs in /usr/lib instead of /usr/local/lib
make
sudo make install
  • Then build libnetfilter_queue:
tar -xvfj libnetfilter_queue-0.0.16.tar.bz2
cd libnetfilter_queue-0.0.16
./configure --prefix=/usr              # install libs in /usr/lib instead of /usr/local/lib
make
sudo make install
  • Finally, install iplist, but ignore dependencies:
sudo rpm -ivh --nodeps iplist-0.22-0.suse11.i586.rpm

Usage

  • Type sudo DISPLAY=:0.0 /usr/sbin/ipblock -g to start the GUI. At first boot, it will creates the rc.d entry.
  • Type sudo /usr/sbin/ipblock -s& to start blocking.
  • Configuration file is at /etc/ipblock.conf. All lists URL is at /etc/ipblock.list.

Troubleshoot

  • If like me, your dhcp server gives you an address in the range 172.19.xxx.yyy, all internet connections will be blocked by iplist. To prevent this, an easy (but heavy) workaround is simply to remove list bogon.gz.

Netfilter