Skip to content

Instantly share code, notes, and snippets.

@CristaLCorp
Last active April 13, 2021 17:57
Show Gist options
  • Save CristaLCorp/f6c1ff81a66b9ae4f3c417d3660cec96 to your computer and use it in GitHub Desktop.
Save CristaLCorp/f6c1ff81a66b9ae4f3c417d3660cec96 to your computer and use it in GitHub Desktop.
ssh -D [local port] [options] jumpserver [-p jumpserver port]
ex :
ssh -D 1337 -qCN jump.server -p 22
-q : quiet mode, no local output
-C : compress data to save bandwith
-N : do Not execute remote commands, just port forwarding
credits : https://ma.ttias.be/socks-proxy-linux-ssh-bypass-content-filters/
tips : Change network.proxy.allow_hijacking_localhost to true in about:config in Firefox.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment