On Thu, Jan 06, 2005 at 12:14:16AM +0800, edwardspl@xxxxxxxxxx wrote: > Dear All, > > Is there a sample ( nat scripts ) for the title ? EXT_IF="eth0" INT_IF="eth1" SRV1="10.1.1.10" iptables -t nat -A PREROUTING -i $EXT_IF -p tcp --dport 80 \ -j DNAT --to-destination $SRV1 iptables -A FORWARD -i $EXT_IF -o $INT_IF -p tcp --syn -d $SRV1 \ --dport 80 -j ACCEPT rinse, repeat. -j -- "Ooh, they used nylon rope this time. It feels smooth against my skin, almost sensuous." --The Simpsons