This script will help you set up a trojan-gfw server in an extremely fast way. For more Info: https://www.johnrosen1.com/trojan/
via wget
sudo bash -c "$(wget -O- https://raw.githubusercontent.com/johnrosen1/trojan-gfw-script/master/trojanv1.3.sh)"
or via curl
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/johnrosen1/trojan-gfw-script/master/trojanv1.3.sh)"
Bash Features:
- Auto install Trojan-GFW NGINX and V2ray
- Auto config Trojan-GFW NGINX and V2ray
- Auto issue and renew let's encrypt certificate
- Auto OS Detect Support Centos Debian and Ubuntu
- Auto domain resolve verification
- Auto iptables firewall config and iptables-persistent
- Auto generate client config
- Auto random vmess uuid generate
- Auto enable tcp-bbr and disable tcp slow start
- Support auto vmess + tls + websocket + nginx config
- Support manually force renew certificate
- Support Remove Trojan-gfw or V2ray
Friendly Warning:
- Please Purchase a domain and finish a dns resolve before running this bash script!
- Please manually change system dns to frequently updated dns like 1.1.1.1 instead of those who update slowly like aliyun lan dns !