Simple port fowarding help

Hello all am new to unix
i have acces to unix machine s commandline at my collage
wen entering uname -a command i get this output

SunOS ws7 5.8 Generic_108528-20 sun4u sparc SUNW,Sun-Blade-1500

all i need help in seting up a simple prort forward from this machine ie this machine listen on tcp port xxx an it redirect connection to remote host yyy.yyy.yyy.yyy on port xxx
please help me thanks a lot...

In Solaris 8 there was no port forwarding software by default, in addition if you want to forward a port you will in many cases need root access, so you may be fighting a loosing battle here.

You could try port forwarding in ssh to see if you can achieve what you need.

Thankr for ur replay sir.. I talked with my teacher a long time and finaly he agreed to give me root act for a short time
btw ssh is not instaled telnet is available
can u please instruct me wat are the steps to do
thanks a lot...

what about rinet?

Whats is rinet ? I am a newbie to unix thanks

hmm..it is a TCP port forwarding/redirection utility. Do you see the rinetd.conf in the /etc directory? Probably not..but if you can downlaod and install, which you would need the root also, take a look at this,

RINETD(8)

I used to run rinetd in my solaris 10 but not sure whether it runs in 8 or not.