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
----- Original Message ----- From: "Antony Stone" <Antony@xxxxxxxxxxxxxxxxxxxx>
To: <netfilter@xxxxxxxxxxxxxxxxxxx>
Sent: Thursday, April 08, 2004 5:02 PM
Subject: Re: newbie question
On Thursday 08 April 2004 12:57 pm, M. Ahmad Ijaz wrote:table
when i try to use this commandYou need a "-t nat" in there, to tell it the rule is going into the nat
iptables -A PREROUTING -s xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
where xxx is any IP and yyy is the subnet mask, it returns me the same message i.e. iptables: No chain/target/match by that name
So it also give the same message with POSTROUTING.
of the PREROUTING chain, not the filter table (which is the default, butdoes
not exist in PREROUTING).list;
Regards,
Antony.
-- People who use Microsoft software should be certified.
Please reply to the
please don't CCme.