Skip to content

zhpjy/sniproxy-proxychains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

sniproxy-proxychains

Proxy sniproxy traffic with proxychains

docker: https://hub.docker.com/r/zhpjy/sniproxy-proxychains

Usage

Prepare sniproxy.conf config file in sniproxy folder, example:

user nobody
listen 443 {
  proto tls
  table https_hosts
}

table https_hosts {
.* *:443
}

Set the variable PROXY for proxychains like socks5 127.0.0.1 8888, default is socks5 127.0.0.1 1080

docker run \
        --restart always \
        --name sniproxy \
        -p 443:443 \
        -e PROXY="socks5 192.168.2.1 1080" \
        -v $(pwd)/sniproxy:/etc/sniproxy \
        -d zhpjy/sniproxy-proxychains

And you can use gfwlist2dnsmasq.sh to generate gfwlist rules for dnsmasq

./gfwlist2dnsmasq.sh -d 192.168.2.1 -o gfw.conf

About

Proxy sniproxy traffic with proxychains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published