2020-03-18 13:53:52 +08:00
2020-03-19 03:45:19 +08:00
2020-03-18 16:26:53 +08:00
2020-03-18 16:26:53 +08:00
2020-03-18 00:56:36 +08:00
2020-03-18 11:53:06 +08:00
2020-03-19 03:45:19 +08:00

Trojan-Go

Trojan proxy written in golang. It is compatiable with the original Trojan protocol and config file.

It's still currently in heavy development.

Build

Just make sure your golang version >= 1.11

git clone https://github.com/p4gefau1t/trojan-go.git
cd trojan-go
go build

You can cross-compile it by setting up the environment vars, for example

GOOS=windows GOARCH=386 go build -o trojan-go.exe

or

GOOS=linux GOARCH=amd64 go build -o trojan-go

Usage

./trojan-go -config your_awesome_config_file.json

The format of the configuration file is compatible, see here.

TODOs

  • Server
  • Forward
  • NAT
  • Client
  • UDP Tunneling
  • Transparent proxy
  • Log
  • Mux
  • TLS Settings
  • TLS redirecting
  • non-TLS redirecting
  • Cert utils
  • Database support
  • Traffic stats
S
Description
No description provided
Readme
7.6 MiB
Languages
Go 98.2%
Makefile 1.3%
Dockerfile 0.3%
Shell 0.2%