I was reading some material on netcat usage. There are a few references to using netcat for a relay using FIFO (mknod backpipe p). Also mentioned was using the next_hop argument. I have never used that syntax and can't really find much information on it. So the command is:
nc -l -p 12345 0<pipe | nc next_hop 54321 1>pipe
I don't know what the next_hop is referring to.
I've always done it like this where I specify where the client will connect (10.1.1.1 port 54321):
nc -l -p 12345 0<pipe | nc 10.1.1.1 54321 1>pipe
Any explanation on how the next_hop works would be appreciated.