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