trojan-go

command module
v0.0.0-...-ee3af50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

README

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

  • easy mode
 docker-compose up -d
  • auth mode
// 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
geodata
Package geodata includes utilities to decode and parse the geoip & geosite dat files.
Package geodata includes utilities to decode and parse the geoip & geosite dat files.
log
nat
test
mux
tls

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL