#!/bin/bash #Copyright 2004 William Stearns #Released under the GPL #Automatically generated by Modwall, http://www.stearns.org/modwall/ #Note that this module depends on system specific configuration #so your output will differ. #==== Brick specific help ==== # The shundst module places permanent bans on destination IP addresses #or networks listed in any files whose names start with /var/lib/modwall//shun . /usr/bin/sudo /sbin/iptables -N shundst /usr/bin/sudo /sbin/iptables -A shundst -d 172.27.1.66 -j DROP /usr/bin/sudo /sbin/iptables -A shundst -d 127.0.0.1 -j DROP /usr/bin/sudo /sbin/iptables -A shundst -d 66.59.111.190 -j DROP /usr/bin/sudo /sbin/iptables -A shundst -d 192.168.11.253 -j DROP /usr/bin/sudo /sbin/iptables -A shundst -d 172.28.2.3 -j DROP /usr/bin/sudo /sbin/iptables -A FORWARD -j shundst /usr/bin/sudo /sbin/iptables -A OUTPUT -o ! lo -j shundst