[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables and dnat



On Tue, 2004-08-31 at 08:40, Sturla Holm Hansen wrote:
> when I try to insert
> 
> iptables -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT 
> --to-destination 192.168.1.2:80
> 
> I  get
> 
> iptables: No chain/target/match by that name
> 
> Below is my  /var/lib/iptables/active
> 
> What am I doing wrong?
> 
> Anyone? Thanx :)
> 
> Sturla

iptables -t nat -A PREROUTING  -p tcp -i eth0 --dport 80 -j DNAT --to-destination 192.168.1.2:80

-- 
Eric Gaumer <gaumer@egaumer.com>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: