I am trying to get bittorrent and amule working with iptables.
currently I have the following in my input chain
iptables -A INPUT -p tcp -m tcp --dport 6881:6889 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 6969 -j ACCEPT
and in the output chain:
iptables -A OUTPUT -p tcp -m tcp --dport 6881:6889 -j ACCEPT
Both outgoing and incoming related/established are allowed, and everything else gets dropped and logged...
What do I need to add to this to make bittorrent work? I have been getting short-lived, sporadic connections, that only allow downloading (at very low speed) and do not upload at all.
As far as amule - I can connect, but always get lowID connections. what do I need to do?