forked from trojan-gfw/trojan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrojan.1
36 lines (36 loc) · 1.1 KB
/
trojan.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.TH TROJAN 1 "January 2020" "version 1.14.1"
.SH NAME
trojan \- an unidentifiable mechanism that helps you bypass GFW
.SH SYNOPSIS
.B trojan
[\fB\-htv\fR] [\fB\-l\fR \fILOG\fR] [\fB\-k\fR \fIKEYLOG\fR] [[\fB\-c\fR] \fICONFIG\fR]
.SH DESCRIPTION
.B trojan
is an unidentifiable mechanism that helps you bypass GFW. It will load the config file located in
.I CONFIG
and start either a proxy client or a proxy server.
.SH OPTIONS
.TP
.BR \-c, " " \-\-config=\fICONFIG\fR
Set the config file to be loaded. Default is \fI/etc/trojan/config.json\fR.
.TP
.BR \-h, " " \-\-help
Print help message.
.TP
.BR \-k, " " \-\-keylog=\fIKEYLOG\fR
Set the keylog file to be written.
.TP
.BR \-l, " " \-\-log=\fILOG\fR
Set the log file to be written. If not specified, the log will be outputted to stderr.
.TP
.BR \-t, " " \-\-test
Test the config file, without starting a server.
.TP
.BR \-v, " " \-\-version
Print version and build info.
.SH FILES
.TP
.IR /etc/trojan/config.json
The default config file. See <https://trojan\-gfw.github.io/trojan/config> for details.
.SH SEE ALSO
Full documentation at: <https://trojan\-gfw.github.io/trojan/>