Thursday, January 28, 2010

Using IPTABLES allow multiport.

Today, I'm just learning that 'IPTABLES' can allow multiple port in single command like this '-m multiport --dports '

Example:
iptables -A RH-Firewall-1-INPUT -s 192.168.1.1 -m multiport --dport 80,443 -j ACCEPT

==TaTsHuYa==

No comments: