aMule Forum

English => en_Linux => Topic started by: madintheattic on October 06, 2004, 12:54:44 PM

Title: Firewall and Low ID
Post by: madintheattic on October 06, 2004, 12:54:44 PM
I have a mandrake box with amule and firewall (iptables)..

So, I opened these ports:

#eDonkey-aMule
iptables -A INPUT -i ppp0 -p tcp --dport 4661 -j ACCEPT
iptables -A INPUT -i ppp0 -p tcp --dport 4662 -j ACCEPT
iptables -A INPUT -i ppp0 -p udp --dport 4665 -j ACCEPT
iptables -A INPUT -i ppp0 -p udp --dport 4664 -j ACCEPT
iptables -A INPUT -i ppp0 -p udp --dport 4672 -j ACCEPT
#edonkey webserber
iptables -A INPUT -i ppp0 -p tcp --dport 4711 -j ACCEPT
iptables -A INPUT -i ppp0 -p tcp --dport 4712 -j ACCEPT

I don't know if they are all useful and functional, but I get ever low ID...
I don't know why (yes, I know, is because my firewall : when the firewall is down amule works perfectly.

I only notice the in my amule "my info" says:

Status: connected
IP:port Unknown

Any ideas?
Title: RE: Firewall and Low ID
Post by: Seagull on October 06, 2004, 01:15:18 PM
Mandrake has its own firewall (or own rules, not sure), those rules arent enough.

Check the "Configure your computer" for it and add the ports in Advanced.
Title: RE: Firewall and Low ID
Post by: madintheattic on October 06, 2004, 01:56:17 PM
I found the problem: I enabled IP filtering.. Whitout It all goes at the right place (but It is a weird thing, anyway!!)

PS> Mandrake tools for network are very poor... I have to set up a firewall/router for a network with one single NIC (with 2 aliases) so, I have to edit manually my iptables rules (yes, I have other rules in my tables) because, for some reasons, the graphic tools (guard dog, firestarter) don't seem to cover this topic..