On 13 Sep 2003 00:55:21 -0700, Manu J <(E-Mail Removed)> wrote:
> hi,
> I want to know if there is any program which can be run with user
> privileges on linux which can listen to a port and forward all packets
> arriving at that port to
> a destination machine.
>
> Lets say i have 3 computers.
> X,Y,Z
> X can connect to Y and Y can connect to Z.But X cannot connect to Z
> X->Y->Z
> And Y doesn't act as a gateway for X.
> So i need a program which will run on Y an listen on say 3333 and
> forward all packets to 3333 at Y to 4444 at Z.
>
> Thank You
try the 'redir' program
most distributions have it somewhere.
Here is Debian's version:
http://packages.debian.org/stable/net/redir.html