Sign inSign up

joywek/trojan

By joywek

•Updated over 3 years ago

An unidentifiable mechanism that helps you bypass GFW.

Image
0

226

joywek/trojan repository overview

⁠How to use this image

  1. Create a new configuration file config.json in the /etc/trojan directory
{
    "run_type":    "server",
    "local_addr":  "0.0.0.0",
    "local_port":  443,
    "remote_addr": "127.0.0.1",
    "remote_port": 80,
    "password":    ["your_password_1", "your_password_2"],
    "ssl": {
        "cert":    "/etc/trojan/pki/trojan-us.pem",
        "key":     "/etc/trojan/pki/trojan-us.key"
    }
}
  1. Starting a new Trojan instance:
docker run --name trojan \
           --network host \
           -v /etc/trojan:/etc/trojan \
           -d
           joywek/trojan

Tag summary

Content type

Image

Digest

sha256:bd38059dd…

Size

8.6 MB

Last updated

over 3 years ago

docker pull joywek/trojan