A Rust implementation of a Trojan VPN server.
Edit a configuration file at cfg/config.json:
{
"debug": true,
"listen_address": "0.0.0.0:1050",
"cert_path": "cfg/server.crt",
"key_path": "cfg/server.key",
"fake_site_address": "https://overbrowsing.com",
"client_passwords": [
"password1",
"password2"
]
}| Option | Description |
|---|---|
debug |
Enable debug output (shows requested addresses) |
listen_address |
Local TROJAN proxy address and port |
cert_path |
path to TLS cert file |
key_path |
path to TLS key file |
fake_site_address |
fake web site addres if clent password is wrong |
client_passwords |
Client passwords for Trojan server authentication |
cargo build --releasecargo run --releaseMIT