--On Tuesday, June 04, 2002 7:28 PM -0700 Akop Pogosian
<[EMAIL PROTECTED]> wrote:
> Suppose I have a two computers called blue1 and blue2. Both of them
> are connected directly to the internet (that is, without using NAT and
> I don't control the routers). Is it possible to configure IP Filter
> on blue1 so that a certain tcp port (say 110) is transparently
> forwarded to the same port on blue2 so that a user could connect to
> that port on blue2 by establishing a connection with blue1?
It depends. Can blue2 do policy-based routing? If so, a rdr will work. If
not, you'll have to combine rdr with map.
Without either, you'll get:
SIPa,Pa -> Blue1,P1
SIPa,Pa -> Blue2,P2
Blue2,P2 -> SIPa,Pa
SIPa RST -> Blue2
This happens because the reply packets do not pass through Blue1
If you can set up a policy route such that all packets from (Blue1,P2) get
routed via Blue1, all will be well (I think).
Otherwise, you'll have to PAT (or NAT) the source IP address, so you'll get:
SIPa,Pa -> Blue1,P1
Blue1,Pr -> Blue2,P2
Blue2,P2 -> Blue1,Pr
Blie1,P1 -> SIPa,Pa
--
Carson