Re: IPTABLES mail forwarding ?

From: Bryan Packer (bryanp@visi.com)
Date: 03/16/02

  • Next message: Ben: "Re: FTPD - 3 strikes you're out"

    From: Bryan Packer <bryanp@visi.com>
    Date: Sat, 16 Mar 2002 12:25:11 -0600
    
    

    TCF Cranendonk wrote:

    >
    > iptables -t nat -A PREROUTING -p tcp --dport 25 -i $ext_if -j DNAT
    > --to-destination 192.xxx.xxx.xxx

    not sure if it matters, but I explicitly state the -d $ext_ip, --sport
    $unpriv, and use --to instead of --to-destination. It works fine for me.

    bryan

    -- 
    Everyday I beat my own  previous record for number of consecutive days
    I've stayed  alive.