Difference between revisions of "Firewall"
From AMule Project FAQ
Line 1: | Line 1: | ||
If you set Tcp port in aMule to XX and Udp port to YY then you have to set your firewall like this: | 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'' | + | ''iptables -A INPUT -p udp --dport YY -j ACCEPT''<br> |
− | -- | + | --[[User:212.93.226.6|212.93.226.6]] 10:32, 29 Apr 2004 (CEST) |
Revision as of 09:32, 29 April 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
--212.93.226.6 10:32, 29 Apr 2004 (CEST)