Linux系统使用SSR
1 min readLinux 系统使用SSR
安装SSR客户端
yum -y install git git clone https://github.com/xzymoe/gfwlist2privoxy.git cd gfwlist2privoxy/ mv ssr /usr/local/bin chmod +x /usr/local/bin/ssr ssr install
配置SSR客户端
ssr config { "server": "103.116.123.123", // ssr服务器IPV4地址 "server_ipv6": "::", // ssr服务器IPV6地址 "server_port": 12345, // ssr服务器端口 "local_address": "192.168.8.168", // 本地监听地址,默认127.0.0.1 "local_port": 1080, // 本地监听端口 # ssr节点服务器的密码、协议、混淆配置 "password": "123456", "method": "aes-256-cfb", "protocol": "auth_sha1_v4", "protocol_param": "", "obfs": "tls1.2_ticket_auth", "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 }
SSR客户端状态管理
启动
ssr start
停止
ssr stop
重启
ssr restart
卸载
ssr uninstall
使用说明
- 默认情况下本地监听端口是127.0.0.1:1080,在浏览器中设置好代理后就可以开始享受SSR了,如果要全局代理的话