nc port forward examples
Will work once:
nc -l 0.0.0.0 6127
nc -l 6126 | nc 0.0.0.0 6127
wget http://0.0.0.0:6126
First 'nc -l' should hit.
Also works (once):
mknod backpipe2 p
nc -l 0.0.0.0 6124 0<backpipe2 | tee -a inflow | nc localhost 6125 | tee -a outflow 1>backpipe2
nc -l localhost 6125
wget http://0.0.0.0:6125