Last active
April 2, 2024 09:00
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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