Difference between revisions of "Firewall Fedora"

From AMule Project FAQ
Jump to: navigation, search
m (Removed Version Tag)
 
(One intermediate revision by the same user not shown)
Line 13: 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 10: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.