Skip to content

Instantly share code, notes, and snippets.

@azurestone
Created June 25, 2011 16:24
Show Gist options
  • Select an option

  • Save azurestone/1046632 to your computer and use it in GitHub Desktop.

Select an option

Save azurestone/1046632 to your computer and use it in GitHub Desktop.
cat /etc/shorewall/rules
#ACTION SOURCE DEST PROTO DEST
# PORT(S)
ACCEPT net $FW tcp 22
ACCEPT net $FW tcp 80
ACCEPT net $FW tcp 3000
ACCEPT $FW net tcp 22
ACCEPT $FW net tcp 80
ACCEPT $FW net tcp 443
ACCEPT $FW net tcp 6667
ACCEPT $FW net tcp 3000
# Whois
ACCEPT $FW net tcp 43
ACCEPT $FW net udp 53
ACCEPT $FW net udp 123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment