Trojan for VNetPanel, WHMCS, SSPanel and Local config without panel.
To distinguish Trojan-Poseidon from Trojan, our service and distributions name will be trojanp
instead of trojan
.
Let everyone rides his own trojan horse without pain!
Panel | Progress |
---|---|
Local(without Panel) | 100% |
VNetPanel | 100% |
WHMCS | 70% |
SSPanel | 100% |
Poseidonfile
MUST begin with a domain of your trojan server and a port it serves on.
Comment is supported. A comment starts with a #
notation.
line 1: domain.of.your.node:443
line M: # place your comment here
line N: DIRECTIVE param1 param2 ... paramN
# Change email to your own to get a tls from Let's Encrypt
# 80 port MUST be free
# format1: tls <email>
tls [email protected]
# If you already hold your tls certifications,
# you can use format2,
# which will not occupy 80 port
# format2: tls server.crt server.key
root
specifies the root path of your static site
- path must be a directory
root path
this directive will be ignored if your root
directive is set
mirror
actually is a reverse proxy,
which you are allowed to mirror a website.
- website is a valid URL to proxy to ( for example: https://colettecontreras.github.io/t-rex-runner/ )
mirror website
bind
overrides the host to which the server should bind.
- host is the hostname (or IP address) to bind to
bind host
license
set your license
license Put-Your-License-Here
# format: vnetpanel apiHost nodeID secretKey
vnetpanel https://www.vnetpanel.com NODE_ID SECRET_KEY
# format: sspanel webApi nodeID muKey
sspanel $webApi $nodeId $muKey
whmcs https://your.whmcs.domain WEBAPI_TOKEN {
interval 10 # sync internal, unit second
trafficRate 1.1 # a float number, by which scales a node traffic
nodeSpeedLimit 0 # unit Mbps, zero means unlimited
maxOnlineIPCount 0 # How many IP count can a user active at the same time, zero means unlimited
userSpeedLimit 0 # unit Mbps, zero means unlimited
}
local {
passwords password1 password2 ... passwordN
}
All documents will be presented in our docs. Please read it carefully before creating a new issue.