/etc/sysconfig/iptables

-A RH-Firewall-1-INPUT -p tcp –dport XX -s XXX.XXX.XXX.0/24 -j ACCEPT
# -p protocol
# –dport destination port
# –dports ssh,www,https,pop3,smtp,imap,imaps,pop3s
# -s source
# -j ACCEPT, DROP

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.