说明:telegram的mtproto最近挂得很快,搜索了下发现用国内机子中转下,同时找到了inner-ss。下面是国内小鸡上的操作,国外的酸酸正常使用的情况。
不仅仅电报可以用,老毛子固件的transocks应该也行,配合gfwlist
1.下载自己服务器对应的版本 https://github.com/ihciah/inner-shadowsocks/releases
2.上传到服务器目录下/root/inner-ss/
只是举例,按自己实际情况
3.编辑config.json
{
"listen": "0.0.0.0",
"port": 23333, #socks5的端口
"auth": false, #认证默认关闭
"username": "ihc", #用户名
"password": "iah", #密码
"servers": ["ss://RC4-MD5:pass1@ip1:port1", "ss://RC4-MD5:pass2@ip2:port2"], #酸酸服务器
"maxfail": 3,
"recovertime": 600,
"starttimeout": 3,
"remotetimeout": 120,
"insidetimeout": 120,
"whitelistenable": false,
"whitelistdomains": [".telegram.org"],
"whitelistips": ["::/0", "0.0.0.0/0", "91.108.4.0/22", "91.108.8.0/22", "91.108.56.0/22", "109.239.140.0/24", "149.154.160.0/20", "149.154.164.0/22", "2001:67c:4e8::/48"]
}
4.开机启动后台运行(Debian8)vi /etc/rc.local
在"exit 0"前添加一行nohup /root/inner-ss/inner-ss -c /root/inner-ss/config.json > /dev/null 2>&1 &
给权限chmod +x /etc/rc.local