iptables -I INPUT 1 -p tcp --dport 22 -j ACCEPT -m comment --comment "Incoming SSH"
iptables -I INPUT 1 -m iprange --src-range 10.0.0.1-10.0.0.254 --dst-range 10.2.0.1-10.2.0.254 -j ACCEPT
iptables -I INPUT 1 -p tcp -m multiport --dports 20:22,25,80,110,443 -j ACCEPT
There are no comments on this page. [Add comment]