I was wondering whether it is possible to get port forwarding without being root or ssh.
Currently I do
ssh -L 20080:othermachine:80 localhost
Using ssh can get you certain benefits like creating encrypted tunnels etc. In the above example I don't do that so using ssh seems unnecessary overhead. Is there an easier way to do this?
I suppose it is not that hard to create a program that reads all data on one socket and sends it to another and vice versa. There must be some tool that does that job better than I can ever write.