aMule Forum
English => aMule Help => Topic started by: cvasil on October 21, 2004, 03:28:52 AM
-
any idea what could be wrong?
Slack 9.1, wx 2.4.2
Firewall:
...
AMULETCP=4662
AMULEUDP=4672
AMULEUDP2=`expr $AMULETCP + 3`
iptables -A INPUT -i $INET -p tcp -d $IPADDR --dport $AMULETCP -j ACCEPT
iptables -A INPUT -i $INET -p udp -d $IPADDR --dport $AMULEUDP -j ACCEPT
iptables -A INPUT -i $INET -p udp -d $IPADDR --dport $AMULEUDP2 -j ACCEPT
....
-
cvasil,
I don't have -i and -d switches in my iptables command, I don't think that they are necessary unless you have some complicated ip address scheeme in your machine.
Anyway, if 1.2.8 works, there should be no reason for rc7 not to work, so there must be nothing wrong with your firewall configuration.
The relevant port when it comes to lowid/highid is aMule TCP port. Once aMule is running, do:
$ netstat -nlt
$ lsof | grep amule | grep IPv4
And paste the result of these commands here, ok? Also check if you have IPFilter active on rc7.
Cheers!
-
> I don't have -i and -d switches in my iptables command, I don't think that they are
> necessary unless you have some complicated ip address scheeme in your machine.
-i and -d are because there are two interface cards in my box. I removed them, so here is what I have now:
# iptables -L | egrep '4662|4665|4672'
ACCEPT tcp -- anywhere anywhere tcp dpt:4662
ACCEPT udp -- anywhere anywhere udp dpt:4665
ACCEPT udp -- anywhere anywhere udp dpt:4672
The problem is still in place.
> The relevant port when it comes to lowid/highid is aMule TCP port. Once aMule is running, do:
> $ netstat -nlt
> $ lsof | grep amule | grep IPv4
# netstat -nltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 679/X
tcp 0 0 0.0.0.0:4662 0.0.0.0:* LISTEN 7992/amule
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 361/sshd
# lsof | grep amule | grep IPv4
amule 7992 cvasil 0u IPv4 12145 UDP *:4665
amule 7992 cvasil 5u IPv4 12147 UDP *:rfa
amule 7992 cvasil 10u IPv4 12207 TCP *:4662 (LISTEN)
amule 7992 cvasil 11u IPv4 12341 TCP my.ip.add.ress :35109->external.host1:4661 (ESTABLISHED)
amule 7992 cvasil 116u IPv4 12645 TCP my.ip.add.ress :35374->external.host2:4662 (ESTABLISHED)
amule 7993 cvasil 0u IPv4 12145 UDP *:4665
amule 7993 cvasil 5u IPv4 12147 UDP *:rfa
amule 7993 cvasil 10u IPv4 12207 TCP *:4662 (LISTEN)
amule 7993 cvasil 11u IPv4 12341 TCP my.ip.add.ress :35109 -> external.host1:4661 (ESTABLISHED)
amule 7993 cvasil 116u IPv4 12645 TCP my.ip.add.ress :35374->external.host2:4662 (ESTABLISHED)
* host names/addresses are changed
> Also check if you have IPFilter active on rc7
I disabled IPFilter (it was active by default), but the problem remains.
$ grep -i ipfilter ~/.eMule
IPFilterAutoLoad=1
IPFilterURL=
IpFilterOn=0
Strange thing, but despite the LowID I can see a few guys loading data from me.
-
sorry i can't help you with iptables. never used them, but:
"Strange thing, but despite the LowID I can see a few guys loading data from me."
usign lowid doesn't stop you from uploading to other clients. it just stops you uploading to other _LowID_ users ;)
Greetings!