Created
February 26, 2014 07:02
-
-
Save mathslinux/9224947 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
# Generated by ovirt-engine installer | |
#filtering rules | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
-A INPUT -i lo -j ACCEPT | |
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT | |
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 5432 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 5634:6166 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 49152:49216 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 6100 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 111 -j ACCEPT | |
-A INPUT -p udp -m state --state NEW -m udp --dport 111 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 662 -j ACCEPT | |
-A INPUT -p udp -m state --state NEW -m udp --dport 662 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 875 -j ACCEPT | |
-A INPUT -p udp -m state --state NEW -m udp --dport 875 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 892 -j ACCEPT | |
-A INPUT -p udp -m state --state NEW -m udp --dport 892 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 2049 -j ACCEPT | |
-A INPUT -p udp -m state --state NEW -m udp --dport 32769 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 32803 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT | |
#drop all rule | |
-A INPUT -j REJECT --reject-with icmp-host-prohibited | |
COMMIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment