8 ms·
This is from memory so take it with a grain of salt: 2048 is the port you're forwarding. Machine B: machine_b$ mkfifo /tmp/tunn machine_b$ nc -k -l 2048
by yan 17y ago
This is from memory so take it with a grain of salt:
2048 is the port you're forwarding.
Machine B:
machine_b$ mkfifo /tmp/tunn
machine_b$ nc -k -l 2048 < /tmp/tunn | nc [machine_c] 2048 > /tmp/tunn &
You should now have a working tunnel. Everything sent to B on 2048 will be sent to C:2048