Difference between revisions of "Firewall Fedora"

From AMule Project FAQ
Jump to: navigation, search
m (Removed Version Tag)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''NOTE:''' For non-[http://fedora.redhat.com Fedora] distributions help, take a look at [[Firewall|this HowTo]].
 +
 
If you have a default [http://fedora.redhat.com Fedora Core] firewall setup and a default [[aMule]] [http://www.rpm.org rpm] installation then you should do as follows:
 
If you have a default [http://fedora.redhat.com Fedora Core] firewall setup and a default [[aMule]] [http://www.rpm.org rpm] installation then you should do as follows:
  
Line 11: Line 13:
 
'''NOTE:''' Commands must be issued as root.
 
'''NOTE:''' Commands must be issued as root.
  
Now you can have a [[FAQ_ed2k#What_is_LowID_and_HighID? HighID]].
+
Now you can have a [[FAQ_eD2k-Kademlia#What_is_LowID_and_HighID?|HighID]].

Latest revision as of 11:06, 29 June 2008

NOTE: For non-Fedora distributions help, take a look at this HowTo.

If you have a default Fedora Core firewall setup and a default aMule rpm installation then you should do as follows:

1- Insert iptables rules:

/sbin/iptables -I RH-Firewall-1-INPUT  -p tcp --dport 4662 -j ACCEPT
/sbin/iptables -I RH-Firewall-1-INPUT  -p udp --dport 4665 -j ACCEPT
/sbin/iptables -I RH-Firewall-1-INPUT  -p udp --dport 4672 -j ACCEPT

2- Get the rules saved (in order to get the rules after restarting):

/sbin/service iptables save

NOTE: Commands must be issued as root.

Now you can have a HighID.