Last active
April 30, 2019 06:38
-
-
Save sursir/04a19bf7ceb593109751bf6a1b039169 to your computer and use it in GitHub Desktop.
ssh ssh2socks5 socks5 tunnel proxy
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 -gN -D 6032 root@HOST | |
# 本机socks5端口[6032]通过ssh隧道转发 | |
# https://www.maoyuanrun.com/2014/10/05/ssh-l-r-d/ | |
# curl 使用 socks5 作为代理 | |
# https://blog.emacsos.com/use-socks5-proxy-in-curl.html | |
curl --socks5-hostname H:P DistinHost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment