Skip to content

Instantly share code, notes, and snippets.

@cwebberOps
Created February 18, 2012 03:40
Show Gist options
  • Save cwebberOps/1857244 to your computer and use it in GitHub Desktop.
Save cwebberOps/1857244 to your computer and use it in GitHub Desktop.
iptables
root@dashboard:/usr/share/puppet-dashboard# /sbin/iptables -I INPUT 1 -t filter -p all -m comment --comment 000 INPUT allow related and established -m state --state ESTABLISHED,RELATED -j ACCEPT
Bad argument `INPUT'
Try `iptables -h' or 'iptables --help' for more information.
root@dashboard:/usr/share/puppet-dashboard# iptables -t filter -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@dashboard:/usr/share/puppet-dashboard#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment