Trojan科学上网
Trojan-Go 服务端兼容所有原 Trojan 客户端,如 Igniter、ShadowRocket 等。以下是支持 Trojan-Go 扩展特性(Websocket / Mux 等)的客户端:
Qv2ray:跨平台客户端,支持 Windows / macOS / Linux,使用 Trojan-Go 核心,支持所有 Trojan-Go 扩展特性。 Igniter-Go:Android 客户端,Fork 自 Igniter,将 Igniter 核心替换为 Trojan-Go 并做了一定修改,支持所有 Trojan-Go 扩展特性。 https://github.com/p4gefau1t/trojan-go
服务端配置
#生成证书curl https://get.acme.sh | sh -s email=346452337@qq.com#使用独立服务模式,先解析v1 A记录到服务器#服务器上没有运行任何 Web 服务,80 端口是空闲acme.sh/acme.sh --issue --standalone -d v1.gaojinbo.com
#trojan-gowget -c https://github.com/p4gefau1t/trojan-go/releases/download/v0.10.6/trojan-go-linux-amd64.zipunzip trojan-go-linux-amd64.zip -d /opt/trojanapt install caddysystemctl enable --now caddy/opt/trojan/trojan-go -server -remote 127.0.0.1:80 -local 0.0.0.0:443 -key /root/.acme.sh/v1.gaojinbo.com_ecc/v1.gaojinbo.com.key \-cert /root/.acme.sh/v1.gaojinbo.com_ecc/fullchain.cer -password Gaojinbo.com
客户端
#linuxwget -c https://github.com/p4gefau1t/trojan-go/releases/download/v0.10.6/trojan-go-linux-amd64.zipunzip trojan-go-linux-amd64.zip -d /opt/trojanscreen /opt/trojan/trojan-go -client -remote v1.gaojinbo.com:9443 -local 127.0.0.1:1080 -password Gaojinbo.com
#windowshttps://github.com/p4gefau1t/trojan-go/releases/download/v0.10.6/trojan-go-windows-amd64.zip
#androidhttps://github.com/2dust/v2rayNG/releases/download/1.9.40/v2rayNG_1.9.40_universal.apk