Skip to content

Instantly share code, notes, and snippets.

@pcting
Created June 22, 2011 22:13
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save pcting/1041387 to your computer and use it in GitHub Desktop.
Save pcting/1041387 to your computer and use it in GitHub Desktop.
SSH Tunnel UDP Packets from REMOTE server
# 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
@minh1989
Copy link

Verify Github on Galaxy. gid:MkAoKD537z9TuZmEkZDCU4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment