Here's my situation:
- I have a computer (Mac) on a school network that I want to port forward TCP 5222 to for ejabberd, but of course I can't.
- I have a server at home (Mac with FreeBSD VM) that I can port forward to.
Is there a simple way to set up my home server to relay incoming and outgoing TCP traffic over port 5222 to/from my computer at school? I know it's possible to make my computer at school connect to the one at home and send/receive everything through it, and I could write a program to do this, but I want to know if there's an easier way. It seems like there would already be a Unix utility to do this.