Changes

Jump to: navigation, search

Setting up an iptables firewall

No change in size, 09:43, 11 March 2008
m
Robot: Automated text replacement (-VEID +CTID)
for i in $VESETUPS ; do
. $i
echo -n " $VENAME VE$VEIDCTID"
if [ -n "$BANNED" ]; then
for source in $BANNED ; do iptables -I FORWARD -j DROP --destination $VEIP --source $source ; done
<pre>
# This file is processed by /etc/init.d/firewall
VEIDCTID="1" # the VE's ID#
VENAME="Customer1" # A human-friendly label for the VE
VEIP="192.168.1.34" # the IP address for this VE
2,253
edits

Navigation menu