Overplus is another implementation of trojan protocol with better perfermance and stability.
Compared with trojan:
- Lower latency and higher speed
- Enhanced Security
- Easy to deploy
- More readable and cleaner code.
https://t.me/+JfKOqh2wH25kMWFl
Run the script and follow the assistant:
curl -O https://raw.githubusercontent.com/xyanrch/overplus/master/install.sh && chmod +x install.sh && sudo ./install.sh
It is strongly recommended to enable BBR to accelerate the network speed.
Enable BBR on 20.04 and CentOS 8
A windows client that support v protocol can find in release page. Overplus fully support trojan protocol, so you can use any client which support trojan protocol. Please make sure disable certificate verification if you use a self issued certificate.
The project depend on boost and openssl libraries, please make sure install boost and openssl before build the project.
mkdir build && cd build
cmake ..
make
sudo ./overplus -c server.json
server.json is a config file which you can customize.
{
"run_type": "server",
"local_addr": "0.0.0.0",
"local_port": "443",
"allowed_passwords": [
"testpsswd"
],
"log_level": "NOTICE",
"log_dir":"",
"ssl": {
"cert": "path_to_cert",
"key": "path_to_key"
},
"websocketEnabled": false
}
Windows use vcpkg to manage library
Dowload vcpkg
git clone https://github.com/Microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
Install dependence
.\vcpkg\vcpkg.exe install --triplet x64-windows
Build project
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE="..\vcpkg\scripts\buildsystems\vcpkg.cmake"
cmake --build build
Trojan protocol is a socks5 like protocol.Trojan request is formed as follows:
+----+-----+-------+------+----------+----------+-------+
|Command | password| DST.ADDR | DST.PORT |packed payload
+----+-----+-------+------+----------+----------+-------+
| unit8 | string | string | string | string
+----+-----+-------+------+----------+----------+-------+
- Support UDP proxy for trojan protocol
- Support websocket for trojan protocol
- Implement a web console to manage overplus
- Design a new protocol to replace trojan protocol