You might want to be a bit more specific than that.
1. Do you mean have a listener on port X that then establishes another stream to connect to port Y on the same box?
2. TCP/IP has no authentication. What authentication were you thinking of?
3. You may find that MacSSH may be able to do what you want, but I can't tell from your vague requirements.