Re: IPTABLES mail forwarding ?From: Bryan Packer (firstname.lastname@example.org)
- Previous message: Nico Coetzee: "ANN: Linux Programming and more..."
- In reply to: TCF Cranendonk: "IPTABLES mail forwarding ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Bryan Packer <email@example.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.
-- Everyday I beat my own previous record for number of consecutive days I've stayed alive.