yangzb09 / SSR-helm

helm to start a proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSR Proxy Usage

RUN docker directly:

docker run -d -p 1080:38321 yangzb09/zbr:0.2 

The service exposes 1080 socks5 port for proxy

RUN SSR via docker-compose:

docker-compose -f zbr.yml pull
docker-compose -f zbr.yml up

RUN SSR via helm

coming soon

Setting docker to use proxy:

vim /usr/lib/systemd/system/docker.service.d/proxy.conf 
[Service]
Environment="HTTPS_PROXY=socks5://192.168.26.1:1080/"
Environment="HTTP_PROXY=socks5://192.168.26.1:1080/"
Environment="NO_PROXY=localhost,127.0.0.1/32,10.0.0.0/8,172.16.0.0/16,192.168.1.0/24"
systemctl reload-daemon docker.service
systemctl restart docker.service

Issue about socks5 proxy support

Setting github to use proxy

git config --global http.proxy 'socks5://192.168.26.1:1080'
git config --global https.proxy 'socks5://192.168.26.1:1080'

Setting shell environment to use proxy

vim ~/.bash_profile
export https_proxy=socks5://192.168.26.1:1080
export http_proxy=socks5://192.168.26.1:1080
export NO_PROXY=192.168.0.0/16,localhost,127.0.0.1/32,master.hostname.example.com,10.0.0.0/8,172.16.0.0/16

About

helm to start a proxy


Languages

Language:Python 92.9%Language:Shell 6.3%Language:Roff 0.6%Language:Dockerfile 0.3%Language:Batchfile 0.1%Language:Makefile 0.0%