kali安装及配置ssr客户端
下载SSR脚本
wget https://onlyless.github.io/ssr sudo mv ssr /usr/local/bin sudo chmod 766 /usr/local/bin/ssr ssr install ssr config
配置SSR
{ "server": "0.0.0.0", //服务器IP地址 "server_ipv6": "::", "server_port": 2333, //端口 "local_address": "127.0.0.1", "local_port": 1080, "password": "password", //密码 "method": "aes-256-cfb", //加密方式 "protocol": "auth_aes128_md5", //协议 "protocol_param": "", "obfs": "plain", //混淆方式 "obfs_param": "", "speed_limit_per_con": 0, "speed_limit_per_user": 0, "additional_ports" : {}, "additional_ports_only" : false, "timeout": 120, "udp_timeout": 60, "dns_ipv6": false, "connect_verbose_info": 0, "redirect": "", "fast_open": false }
设置浏览器或系统代理
将SSR添加到开机启动项
cd /etc/init.d touch ssr chmod +x ssr vim ssr
其中ssr的内容为
#!/bin/sh ### BEGIN INIT INFO # Provides: ssr # Required-Start: $network $remote_fs $local_fs # Required-Stop: $network $remote_fs $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: ssr # Description: shadowsocks ### END INIT INFO nohup ssr start >/dev/null 2>&1 & exit 0
update-rc.d ssr defaults 设置开机自启动