trojan安装方法
sudo yum install socat
开始一键安装
curl -O https://raw.githubusercontent.com/atrandys/trojan/master/trojan_mult.sh && chmod +x trojan_mult.sh && ./trojan_mult.sh
./trojan_mult.sh
{
"run_type": "client",
"local_addr": "127.0.0.1",
"local_port": 1080,
"remote_addr": "234sdfsdc23412usqqw1.988.com", 服务器地址
"remote_port": 443,端口号
"password": [
"li111111" 密码
],
"log_level": 1,
"ssl": {
"verify": true,
"verify_hostname": true,
"cert": "",
"cipher_tls13":"TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384",
"sni": "",
"alpn": [
"h2",
"http/1.1"
],
"reuse_session": true,
"session_ticket": false,
"curves": ""
},
"tcp": {
"no_delay": true,
"keep_alive": true,
"fast_open": false,
"fast_open_qlen": 20
}
}
如果使用软件连接不上,是因为防火墙的原因,我测试了很多次,最后才发现是防火墙的问题!
千万记住需要关闭防火墙!