Re: iptables and dnat
From: Eric Gaumer (gaumer_at_egaumer.com)
Date: 08/31/04
- Previous message: Bill Allombert: "please check if yours bugs reported against wmaker still apply"
- In reply to: Sturla Holm Hansen: "iptables and dnat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Tue, 31 Aug 2004 08:58:42 -0700
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>
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: This is a digitally signed message part
- Previous message: Bill Allombert: "please check if yours bugs reported against wmaker still apply"
- In reply to: Sturla Holm Hansen: "iptables and dnat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]