Trojan一鍵腳本


系統要求及腳本介紹

1、系統>=centos7,用centos8最好,內核可直接開啟bbr不需升級。

2、域名解析到VPS並生效。

3、腳本自動續簽https證書

4、自動配置偽裝網站,位於/usr/share/nginx/html/目錄下,可自行替換其中內容

 

使用一鍵腳本安裝

curl -O https://raw.githubusercontent.com/atrandys/trojan/master/trojan_centos7.sh && chmod +x trojan_centos7.sh && ./trojan_centos7.sh

另外建議安裝bbr,來源於網絡分享,以下腳本安裝,建議用原版bbr加速,不贅述了

cd /usr/src && wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

修改密碼

/usr/src/trojan/server.conf

修改完成后,重啟trojan服務端即可,同時客戶端的密碼也要同步修改哦。

systemctl restart trojan

 

 

原文鏈接:https://www.atrandys.com/2019/1963.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM