Skip to content

abadfox233/ssr_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SSR-Client

Usage

  1. 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
}
  1. pull image
docker pull abadfox/ssr_client:0.1
  1. start container
 docker run -d -v /root/config:/config -p 1080:1080 --name="ssr" abadfox/ssr_client:0.1

Socket Conver To Http

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

Socket Conver To HTTP On ARM

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

About

the image for ssr_client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published