Created
April 7, 2016 20:02
-
-
Save jabedude/14fd20bcfdac9c98d9925c0b84a7b69c to your computer and use it in GitHub Desktop.
nix port redirection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkfifo mypipe | |
nc -l 8885 0<mypipe | nc -p 42 10.80.32.1 111 1>mypipe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment