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