Created
March 18, 2011 01:27
-
-
Save moeproblems/875472 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@moe apache]# iptables-save | |
# Generated by iptables-save v1.3.5 on Fri Mar 18 01:26:52 2011 | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [20082:2580810] | |
:RH-Firewall-1-INPUT - [0:0] | |
-A INPUT -j RH-Firewall-1-INPUT | |
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT | |
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT | |
-A FORWARD -j RH-Firewall-1-INPUT | |
-A RH-Firewall-1-INPUT -i lo -j ACCEPT | |
-A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT | |
-A RH-Firewall-1-INPUT -p esp -j ACCEPT | |
-A RH-Firewall-1-INPUT -p ah -j ACCEPT | |
-A RH-Firewall-1-INPUT -d 224.0.0.251 -p udp -m udp --dport 5353 -j ACCEPT | |
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT | |
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT | |
-A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT | |
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT | |
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited | |
COMMIT | |
# Completed on Fri Mar 18 01:26:52 2011 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment