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