Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# https://unix.stackexchange.com/questions/10428/simple-way-to-create-a-tunnel-from-one-local-port-to-another
ssh -L -R # limit for 0.0.0.0
watch -n0 busybox nc -l -p 3389 -e /bin/nc 127.0.0.1 8000 # have restart time gap
socat tcp-listen:443,reuseaddr,fork tcp:localhost:8080 # need install
# can not install socat, compile yourself? https://github.com/cornerpirate/socat-shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment