rendered paste bodyIPTABLES=`type -p iptables`
for i in 51 52 53 54 55; do
$IPTABLES -t filter $1 FORWARD -s 192.168.0.$i -d 200.201.174.0/24 -p tcp -m tcp --dport 80 -j ACCEPT
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.202 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.202:80
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.203 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.203:80
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.204 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.204:80
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.205 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.205:80
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.206 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.206:80
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.207 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.207:80
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.208 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.208:80
$IPTABLES -t nat $1 PREROUTING -s 192.168.0.$i -d 200.201.174.209 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.209:80
done