[c-nsp] SMTP Redirection

Dale Shaw dale.shaw+cisco-nsp at gmail.com
Sun Aug 19 21:51:25 EDT 2007


Hi,

On 8/16/07, a. rahman isnaini r. sutan <risnaini at speed.net.id> wrote:
>
> How can i enable smtp redirection on a cisco router ?
> In other word, if any user send email to any destination their smtp setting
> will not be changed.
> And the packet then redirected to a smtp server.

I know you're looking for a Cisco solution, but this is a 5 minute
piece of cake on any platform that can run IPFilter -
http://coombs.anu.edu.au/~avalon/

The ipnat.conf line would look something like:

rdr eth0 0.0.0.0/0 port smtp -> 127.0.0.1 port smtp

In this example, you're redirecting SMTP traffic to an SMTP daemon
running on the local box (127.0.0.1), but you can send it anywhere.
It's been ages (years) since I touched ipf, but when I read your mail,
I immediately thought of it.

cheers,
Dale


More information about the cisco-nsp mailing list