Difference between revisions of "Firewall Fedora"

From AMule Project FAQ
Jump to: navigation, search
 
Line 1: Line 1:
If you have a default Fedora Core firewall setup and a default aMule 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:
  
 +
'''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
  
'''1''' - Insert iptables rules:
+
'''2'''- Get the rules saved (in order to get the rules after restarting):
:/sbin/iptables -I RH-Firewall-1-INPUT  -p tcp --dport 4662 -j ACCEPT
+
/sbin/service iptables save
:/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.
 
'''NOTE:''' Commands must be issued as root.
  
Now you can have a HighID
+
Now you can have a [[FAQ_ed2k#What_is_LowID_and_HighID? HighID]].

Revision as of 14:47, 16 June 2005

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 FAQ_ed2k#What_is_LowID_and_HighID? HighID.