Created
December 2, 2013 20:28
-
-
Save bgroJr/7758185 to your computer and use it in GitHub Desktop.
Check For Presence of IPTables Firewall
This file contains hidden or 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
| # use rpm to query for the iptables package | |
| rpm -q iptables | |
| # use lsmod to list running kernel modules | |
| lsmod | grep ip_tables | |
| # run iptables with the -L option to list current rules | |
| iptables -L | |
| # may need to use system-config-securitylevel to enable iptables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment