Last active
August 20, 2021 13:41
-
-
Save dionisioviei/a470910ea1ce5305bf9907cb4530f6b5 to your computer and use it in GitHub Desktop.
Tunnel on MacOS
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 -f -N -M -S /tmp/sshtunnel -D 1080 [email protected] -p22 | |
## Then go to Network > Advanced > Proxies > Check SOCKS Proxy > on SOCKS Proxy Server input 127.0.0.1 : 1080 | |
## To remove: UnCheck SOCKS Proxy on Network > Advanced > Proxies and run: | |
## ssh -S /tmp/sshtunnel -O exit server.domain.com -p22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment