Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vysecurity/702a165b23b2a290859e179bad3f4a18 to your computer and use it in GitHub Desktop.
Save vysecurity/702a165b23b2a290859e179bad3f4a18 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment