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