Difference between revisions of "Firewall"
From AMule Project FAQ
m (damn, how many f**** wikipedia references might still be left???) |
|||
Line 1: | Line 1: | ||
− | If you set TCP port in [[ | + | If you set TCP port in [[aMule]] to XX and UDP port to YY then you have to set your firewall like this: |
''iptables -A INPUT -p tcp --dport XX -j ACCEPT''<br> | ''iptables -A INPUT -p tcp --dport XX -j ACCEPT''<br> | ||
''iptables -A INPUT -p udp --dport XX+3 -j ACCEPT''<br> | ''iptables -A INPUT -p udp --dport XX+3 -j ACCEPT''<br> | ||
''iptables -A INPUT -p udp --dport YY -j ACCEPT''<br> | ''iptables -A INPUT -p udp --dport YY -j ACCEPT''<br> |
Revision as of 16:20, 26 July 2004
If you set TCP port in aMule to XX and UDP port to YY then you have to set your firewall like this:
iptables -A INPUT -p tcp --dport XX -j ACCEPT
iptables -A INPUT -p udp --dport XX+3 -j ACCEPT
iptables -A INPUT -p udp --dport YY -j ACCEPT