19a0061b6Sopenharmony_ci# sample configuration for iptables service
29a0061b6Sopenharmony_ci# you can edit this manually or use system-config-firewall
39a0061b6Sopenharmony_ci# please do not ask us to add additional ports/services to this default configuration
49a0061b6Sopenharmony_ci*filter
59a0061b6Sopenharmony_ci:INPUT ACCEPT [0:0]
69a0061b6Sopenharmony_ci:FORWARD ACCEPT [0:0]
79a0061b6Sopenharmony_ci:OUTPUT ACCEPT [0:0]
89a0061b6Sopenharmony_ci-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
99a0061b6Sopenharmony_ci-A INPUT -p icmp -j ACCEPT
109a0061b6Sopenharmony_ci-A INPUT -i lo -j ACCEPT
119a0061b6Sopenharmony_ci-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
129a0061b6Sopenharmony_ci-A INPUT -j REJECT --reject-with icmp-host-prohibited
139a0061b6Sopenharmony_ci-A FORWARD -j REJECT --reject-with icmp-host-prohibited
149a0061b6Sopenharmony_ciCOMMIT
15