#!/bin/bash #Copyright 2004 William Stearns #Released under the GPL #Automatically generated by Modwall, http://www.stearns.org/modwall/ #==== Brick specific help ==== # The policy module sets the policy (action to take if no rule #matches) at the end of each of the 3 built-in chains (INPUT, OUTPUT, and #FORWARD). The policy can be set by setting: #DefaultPolicy='ACCEPT' # or #DefaultPolicy='DROP' # in /etc/modwall/modwall.conf , or can be specified on the #command line (command line overrides file setings). /usr/bin/sudo /sbin/iptables -P INPUT DROP /usr/bin/sudo /sbin/iptables -P FORWARD DROP /usr/bin/sudo /sbin/iptables -P OUTPUT DROP