trojan-go
Usage
build:
go build -tags "full"
client:
./trojan-go -client -remote xxx.com:443 -local 127.0.0.1:8883 -password test001
server:
./trojan-go -server -remote 127.0.0.1:80 -local 0.0.0.0:443 -key ./your_key.key -cert ./your_cert.crt -password test001
Docker & docker-compose
docker-compose up -d
// modify env 'CUSTOM_AUTH=true' to open authenticate from 'github/bugfan/trojan-auth',which is a http authentication server match 'github.com/bugfan/trojan-go'
Reference & Resources
https://github.com/p4gefau1t/trojan-go
https://github.com/bugfan/de
https://github.com/bugfan/to