Skip to content

yyyyy1412/trojan-poseidon

 
 

Repository files navigation

Trojan Poseidon

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.

OUR MISSION

Let everyone rides his own trojan horse without pain!

Panel Progress
Local(without Panel) 100%
VNetPanel 100%
WHMCS 70%
SSPanel 100%

Poseidonfile

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

Directives

tls
# 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

root specifies the root path of your static site

  • path must be a directory
root path
mirror

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.

mirror website
bind

bind overrides the host to which the server should bind.

  • host is the hostname (or IP address) to bind to
bind host
license

license set your license

license Put-Your-License-Here
vnetpanel
# format: vnetpanel apiHost nodeID secretKey
vnetpanel https://www.vnetpanel.com NODE_ID SECRET_KEY
sspanel
# format: sspanel webApi nodeID muKey
sspanel $webApi $nodeId $muKey
whmcs
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
local {
  passwords password1 password2 ... passwordN
}

Docs

All documents will be presented in our docs. Please read it carefully before creating a new issue.

Join us

TG

Acknowledgement

About

Trojan for VNetPanel, WHMCS, SSPanel

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 99.4%
  • Makefile 0.6%