Hello,
I'm unsure if ipf/ipnat are the proper tools for what I'm trying to accomplish
here, but I thought I would present my situation to the list for feeback and
see if I'm on the right track.
I have one interface that is assigned two IP addresses. I want to
redirect/forward all outbound smtp traffic from the primary IP
(202.216.97.175) onto the alias IP (201.61.128.211) which is on a
different subnet. (BTW, I can't configure my MTA to use the alias IP)
Is this something I can do with ipfilter? If not, can anyone suggest a way to
accomplish this? I've been through the list archives, the FAQ and tried some
rules I though might work, but no such luck.
I'm running FreeBSD 4.5-RELEASE and here's my output from ifconfig:
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 202.216.97.175 netmask 0xffffffc0 broadcast 202.216.97.191
inet6 fe80::202:b3ff:fe4c:2c01%fxp0 prefixlen 64 scopeid 0x1
inet 201.61.128.211 netmask 0xffffffff broadcast 201.61.128.211
ether 00:02:b3:4c:2c:01
media: Ethernet autoselect (10baseT/UTP)
status: active
Thanks,
- Jeff Koncz