Last active
February 27, 2022 07:56
-
-
Save majudhu/5ac9743d43b809a970dacae97f8644cb to your computer and use it in GitHub Desktop.
git npm ssh socks 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
internal: 0.0.0.0 port=8888 | |
external: eth0 | |
socksmethod: none | |
clientmethod: none | |
client pass { | |
from: 0.0.0.0/0 to: 0.0.0.0/0 | |
} | |
socks pass { | |
from: 0.0.0.0/0 to: 0.0.0.0/0 | |
} |
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
proxy_dns 1.1.1.1 | |
socks5 127.0.0.1 9050 |
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
sudo apt install dante-server | |
sudo service danted restart | |
ssh -R 9050:127.0.0.1:9050 user@host | |
curl -x socks5://127.0.0.1:9050 icanhazip.com | |
sudo apt install proxychains4 | |
proxychains curl icanhazip.com | |
proxychains git pull | |
proxychains npm i | |
# none of these worked :( | |
#git config --global http.proxy socks5://127.0.0.1:9050 | |
#npm config set proxy socks5://127.0.0.1:9050 | |
#npm config set https-proxy socks5://127.0.0.1:9050 | |
#export PROXYCHAINS_SOCKS5=8888 | |
#export PROXY_DNS_SERVER=8.8.8.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment