- config.json
{
"server": "*",
"server_ipv6": "::",
"server_port": *,
"local_address": "0.0.0.0",
"local_port": 1080,
"password": "*",
"method": "*",
"protocol": "auth_aes128_md5",
"protocol_param": "",
"obfs": "http_simple",
"obfs_param": "",
"speed_limit_per_con": 0,
"speed_limit_per_user": 0,
"additional_ports" : {}, // only works under multi-user mode
"additional_ports_only" : false, // only works under multi-user mode
"timeout": 120,
"udp_timeout": 60,
"dns_ipv6": false,
"connect_verbose_info": 0,
"redirect": "",
"fast_open": false
}
- pull image
docker pull abadfox/ssr_client:0.1
- start container
docker run -d -v /root/config:/config -p 1080:1080 --name="ssr" abadfox/ssr_client:0.1
FROM shinobit/privoxy
RUN echo -e "forward-socks5t / ssr:1080 . " >> /etc/privoxy/config
EXPOSE 8118
CMD ["/usr/sbin/privoxy", "--no-daemon", "/etc/privoxy/config"]
docker build -t privoxy:v1 .
docker run -d --link ssr:ssr -p 8118:8118 privoxy:v1
FROM ufud/rpi-torproxy
RUN sed -i '$d' /etc/privoxy/config
RUN echo "forward-socks5t / ssr:1080 . " >> /etc/privoxy/config
EXPOSE 8118
CMD ["/usr/sbin/privoxy", "--no-daemon", "/etc/privoxy/config"]
docker build -t privoxy:v1 .
docker run -d --link ssr:ssr --name="privoxy" -p 8118:8118 privoxy:v1