Skip to content

dimkinthepro/trojan_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trojan VPN Server

A Rust implementation of a Trojan VPN server.

Configuration

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"
  ]
}

Configuration Options

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

Building

cargo build --release

Running

cargo run --release

License

MIT

About

A Rust implementation of a Trojan VPN server

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages