Created
June 22, 2011 22:13
-
-
Save pcting/1041387 to your computer and use it in GitHub Desktop.
SSH Tunnel UDP Packets from REMOTE server
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
# YOUR LOCAL BOX | |
socat -t0 -T0 tcp4-listen:6667,reuseaddr,fork UDP:localhost:4445 | |
ssh user@remote_server -R 6667:localhost:6667 | |
# REMOTE MACHINE | |
socat -t0 -T0 udp4-recvfrom:4445,reuseaddr,fork tcp:localhost:6667 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verify Github on Galaxy. gid:MkAoKD537z9TuZmEkZDCU4