记一次ssr后端手动对接ssrpanel
其他

记一次ssr后端手动对接ssrpanel

首先说下环境 机器是vultr的日本机器,配置为1H 1024MB memory 系统 centos 7 .没安装任何环境。对接的是胖虎的面板。 话不多说,马上开工! 首先安装下wget,一会要用到! yum install -y wget 然后我们采用一键部署脚本,因为后面要安装一系列库,比较麻烦! wget -N --no-check-certificate https://raw.githubusercontent.com/maxzh0916/Shadowsowcks1Click/master/Shadowsowcks1Click.sh;chmod +x Shadowsowcks1Click.sh;./Shadowsowcks1Click.sh 然后慢慢让脚本跑一会! 然后会出现中文提示,按照提示部署即可。 需要注意的:运行完之后如果不能正常连接,请进入目录输入python server.sh查看运行情况 附录:配置单端口 进入ssr配置目录 编辑user-config.json 以下给个范例,密码和端口等参数自行修改! { "server": "0.0.0.0", "server_ipv6": "::", "server_port": 8388, "local_address": "127.0.0.1", "local_port": 1080, "password": "m", "method": "aes-128-ctr", "protocol": "auth_sha1_v4_compatible", "protocol_param": "", "obfs": "tls1.2_ticket_auth_compatible", "obfs_param": "", "speed_limit_per_con": 0, "speed_limit_per_user": 0, "additional_ports" : { "80": { "passwd": "pass", "method": "aes-128-ctr", "protocol": "auth_aes128_md5", "protocol_param": "#", "obfs": "tls1.2_ticket_auth_compatible", "obfs_param": "" }, "443": { "passwd": "pass", "method": "aes-128-ctr", "protocol": "auth_aes128_md5", "protocol_param": "#", "obfs": "tls1.2_ticket_auth_compatible", "obfs_param": "" } }, "additional_ports_only" : false, // only works under multi-user mode "timeout": 120, "udp_timeout": 60, "dns_ipv6": false, "connect_verbose_info": 1, "redirect": "", "fast_open":…