Skip to content

Instantly share code, notes, and snippets.

@bgroJr
Created December 2, 2013 20:28
Show Gist options
  • Select an option

  • Save bgroJr/7758185 to your computer and use it in GitHub Desktop.

Select an option

Save bgroJr/7758185 to your computer and use it in GitHub Desktop.
Check For Presence of IPTables Firewall
# 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