Re: iptables and dnat

From: Eric Gaumer (gaumer_at_egaumer.com)
Date: 08/31/04

  • Next message: Brian Pack: "Re: Tux logo, Nvidia drivers, and framebuffer"
    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
    


  • Next message: Brian Pack: "Re: Tux logo, Nvidia drivers, and framebuffer"