Changing outbound IP addresses

steve_at_hydramusic.net
Date: 12/25/04


Date: 25 Dec 2004 11:07:14 -0800

Hello,

I want to set up my router so any request going to any ip address on
port 25 instead goes to my internal SMTP server. IE, if I do a "telnet
66.167.1.230 25", packets should instead be sent to "192.168.1.1 25".

Do I use the OUPUT chain or the FORWARD chain to do this? Is this DNAT?
Do I have to use stateful packet filtering or can I get by without it?

Just give me a general idea of what to do, I can look up the details on
google.

- Steve