On Thursday 08 April 2004 1:32 pm, M. Ahmad Ijaz wrote: > do i know where to put that "-t nat" > iptables -A PREROUTING -s xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy -p tcp -m > tcp --dport 80 -j REDIRECT --to-ports 8080 I don't know - do you? I'll assume that you don't, since you've asked us... My preference is to place it after the chain name: iptables -A PREROUTING -t nat -s xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 However other people sometimes place it before. Regards, Antony. -- If you want to be happy for an hour, get drunk. If you want to be happy for a year, get married. If you want to be happy for a lifetime, get a garden. Please reply to the list; please don't CC me.