You can fordward ports from userspace using

netcat like this:nc -l -p $localport -c "nc $remotehost $remoteport

Example:nc -l -p 8888 -c “nc example.com 8888” Caution: This starts a new process for ever connect to the port.
via

Forwarding ports using netcat — Jonas Wagners Blog.

Annunci