brew install nwtgck/yamux-cli/yamuxwget https://github.com/nwtgck/yamux-cli/releases/download/v0.5.0/yamux-0.5.0-linux-amd64.deb
sudo dpkg -i yamux-0.5.0-linux-amd64.debGet more executables in the releases for you environment.
... | yamux localhost 80 | ...... | yamux -l 8080 | ...... | yamux -U /unix/domain/socket/path | ...... | yamux -U -l /unix/domain/socket/path | ...... | yamux -u 1.1.1.1 53 | ...... | yamux -ul 1053 | ...Here is a complete example, but not useful. This is forwarding local 80 port to local 8080 port.
mkfifo my_pipe
cat my_pipe | yamux localhost 80 | yamux -l 8080 > ./my_pipe An expected usage of this CLI is to combine network tools and transport a remote port.