It's compatible with original trojan with following experimental features:
- NAT for udp
- Pipeline Mode to decrease latency
- Loadbalance for 2+ servers to increase bandwidth
- Proxy ICMP message
Trojan plus can be used as client or server to connect original trojan server or client, so if you just upgrade trojan plus binary with old config file, it can work all the same, we has optimized original trojan project a lot, especially in NAT mode.
Trojan plus' experimental features need to be used/enabled both server-end and client-end, so if you want to use them, please update both ends into trojan plus. In the other words, if you don't use/enable experimental features, you can use trojan plus in single end to adapt the original trojan.
Trojan plus has a different belief to original trojan, running effective with more features first instead of project simplification (origin trojan don't want to add unnecessary features, they want to keep the project simple). Under this trojan plus' belief, for Android lib, we even write a low level TUN tunnel interface to get better effective a little bit, rather than integrate/use other 3rd system directly such as tun2socks or clash (such as shadowsocks-android and Igniter).
Trojan plus project's best running environment is Linux system in NAT mode (might be known as transparent proxy), it would be better if you has a software-router gateway instead of OpenWrt in a weak hardware. That's to say trojan plus is prepared for company's gateway for handreds of devices proxying.
- C++17 supporting
- GNU gcc 7.0.0+ in linux
- or Visual Studio 2017(15.7)+ in Windows
- or Clang 5+ (XCode 6+) in MacOS
- CMake >= 3.7.2
- Boost >= 1.72.0 ( 1.73.0 recommend )
- OpenSSL >= 1.1.0 ( 1.1.1g recommend)
- libmysqlclient
Here is a compiling guide to guide you compiling trojan plus in CentOS, you can copy and modify it for your system.
Here's a config wiki for fully introduction.
There is a repo that developed for Trojan Plus especially in mobile devices:
https://github.com/Trojan-Plus-Group/trojan-plus-app
Usage or performance testing or even contribution are very welcome.
We follow original trojan's GPLv3