Skip to content

Instantly share code, notes, and snippets.

@midwire
Last active April 2, 2024 09:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save midwire/bbbb787b6528aea04a08a7d5bd414b6d to your computer and use it in GitHub Desktop.
Save midwire/bbbb787b6528aea04a08a7d5bd414b6d to your computer and use it in GitHub Desktop.
[SSH Personal Proxy] Setup an SSH proxy for SOCKS tunneling #bash #network #linux #command
ssh -D 8080 -CqTnN user@tunnelhost
-D - [bind_address:]port
-C - Request data compression
-q - Quiet mode
-T - Disable psuedo-terminal allocation
-N - Do not execute any remote commands
-n - Redirect stdin from /dev/null (actually, prevents reading from stdin)
Once you get the tunnel going, you can configure firefox to use a SOCKS proxy:
address: 127.0.0.1
port: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment