[EMAIL PROTECTED] wrote:
> I have one host lets say it has an address of 10.117.204.45 and i need to
> access another host with an address of 10.95.101.145
> The host 10.95.101.145 can only be accessed by 10.117.204.45  through a
> natted address 10.118.93.145
> 
> However I want my applications to use the proper address not the natted one
...
> I put in ipnat.conf on host 10.117.204.45
> 
> rdr fjqe0 10.95.101.145/32 port 9092 -> 10.118.93.145 port 9092

AfaIk, there is no way to do what you want with a single machine, since
"rdr" acts on the target address of incoming connections (before filtering),
whereas "map" acts on the source address of outgoing connections (after
filtering) and "bimap" does both.
You would need a second firewall machine with two interfaces, then apply
the same rdr rule on the interface connected to the your host 10.117.204.45.
The firewall machine must be configured as a router from 10.117.204.0/24
to 10.95.101.145 and recognized as such by your host.

Reply via email to