Created
February 4, 2026 08:44
-
-
Save abakum/8e7eab837780acada671c45c7f1b3298 to your computer and use it in GitHub Desktop.
Proxy
This file contains hidden or 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
| Настрой git | |
| git config --global http.proxy socks5://127.0.0.1:1080 | |
| git config --global https.proxy socks5://127.0.0.1:1080 | |
| Настрой code | |
| set HTTPS_PROXY=socks5://127.0.0.1:1080 | |
| set HTTP_PROXY=socks5://127.0.0.1:1080 | |
| code | |
| или | |
| code --proxy-server="socks5://127.0.0.1:1080" | |
| Не все могут через socks5 | |
| Установи golang | |
| curl -x socks5h://127.0.0.1:1080 -L -O https://go.dev/dl/go1.24.0.windows-amd64.msi | |
| Установи gost | |
| go install github.com/go-gost/gost/cmd/gost@master | |
| Запусти gost | |
| gost -L http://:8080 -F socks5://127.0.0.1:1080 | |
| Установи scoop | |
| curl.exe -x socks5h://127.0.0.1:1080 -L https://get.scoop.sh -o install_scoop.ps1 | |
| Если ты под админом можно вернуться | |
| runas /trustlevel:0x20000 "cmd.exe" | |
| .\install_scoop.ps1 | |
| Или остаться | |
| .\install_scoop.ps1 -RunAsAdmin | |
| Настроим scoop | |
| scoop config proxy 127.0.0.1:8080 | |
| Настроим choco | |
| curl -x socks5h://127.0.0.1:1080 -L https://chocolatey.org/install.ps1 -o install.ps1 | |
| choco config set --name proxy --value "http://127.0.0.1:8080" | |
| Настрой keepass | |
| File~Tools~Options~Advanced~Proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment