029dc7
# sample configuration for iptables service
029dc7
# you can edit this manually or use system-config-firewall
029dc7
# please do not ask us to add additional ports/services to this default configuration
029dc7
*filter
029dc7
:INPUT ACCEPT [0:0]
029dc7
:FORWARD ACCEPT [0:0]
029dc7
:OUTPUT ACCEPT [0:0]
029dc7
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
029dc7
-A INPUT -p icmp -j ACCEPT
029dc7
-A INPUT -i lo -j ACCEPT
029dc7
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
029dc7
-A INPUT -j REJECT --reject-with icmp-host-prohibited
029dc7
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
029dc7
COMMIT