Skip to content

Instantly share code, notes, and snippets.

@ekiara
Created February 12, 2023 16:08
Show Gist options
  • Save ekiara/f7c5f99896977af41a2d5e403289416e to your computer and use it in GitHub Desktop.
Save ekiara/f7c5f99896977af41a2d5e403289416e to your computer and use it in GitHub Desktop.
Use SSH as a SOCKS4/SOCKS5 proxy

Use SSH as a SOCKS4/SOCKS5 proxy

SSH config

ssh -D 13337 -q -C -N <the-vps-you-are-connecting-with>

Browser config

  • For chrome, set your computers internet connection to use localhost:13337 as a SOCKS proxy
  • For firefox, go to network settings and set the browser to use localhost:13337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment