[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Re: two IP's on the same interface
From:       Jeff Koncz <jkoncz () attbi ! com>
Date:       2003-03-25 5:01:50
[Download RAW message or body]

> This is what I have done in ipnat.conf on a system which I have two ip
> addresses assigned to tun0 and I want SMTP traffic to appears as coming
> from the assigned ip for the mail server.
>
> map tun0 from 0/0 to 0/0 port = 25 -> alias_ip/32 portmap tcp auto

Thank you Larry!  That does exactly what I wanted.  I added the following line 
to my ipnat.conf and outbound mail is now going through the alias ip.

map fxp0 from 0/0 to 0/0 port = 25 -> 201.61.128.211/32 portmap tcp auto

- Jeff

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic