A fast, custom encrypted transport protocol written in Rust.
Go to file
ospab acf81527b6 docs: simplify README and fix keep-alive/config validation 2026-05-16 19:05:09 +03:00
.github/workflows chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
docs docs: add official specifications for OSTP 2026-05-15 18:51:13 +03:00
ostp chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
ostp-client chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
ostp-core fix: throw error on ARQ max_retries exceeded to prevent silent deadlock that caused infinite upload timeouts 2026-05-15 20:04:07 +03:00
ostp-gui chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
ostp-jni feat(gui): implement real-time atomic status polling and multi-state UI feedback (Stopped/Handshaking/Established) and update JNI/core layers 2026-05-15 22:37:50 +03:00
ostp-server feat: resolve flow control, tun crash route cleanup, log pollution, padding caps 2026-05-15 18:34:32 +03:00
ostp-tun-helper chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
scripts fix(installer): use rename trick to bypass file locks and ensure all bundled files (tun2socks, wintun) are copied 2026-05-15 20:24:01 +03:00
.gitattributes chore: enforce LF line endings on bash scripts via gitattributes to fix 'bad interpreter' on Linux 2026-05-15 19:08:03 +03:00
.gitignore chore: remove junk files, update .gitignore for temp dirs and archives 2026-05-15 18:27:45 +03:00
Cargo.lock chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
Cargo.toml CI/CD: release version v0.1.45 2026-05-16 18:21:16 +03:00
Cross.toml CI/CD: Resolve MIPS Tier-3 compilation by instructing Cross to dynamically build-std library from source 2026-05-14 23:57:19 +03:00
LICENSE Initial public release: Ospab Stealth Transport Protocol v0.1.0 2026-05-14 21:41:54 +03:00
README.md docs: simplify README and fix keep-alive/config validation 2026-05-16 19:05:09 +03:00
README.ru.md docs: simplify README and fix keep-alive/config validation 2026-05-16 19:05:09 +03:00

README.md

OSTP (Ospab Stealth Transport Protocol)

OSTP is a simple and fast tunnel protocol designed to bypass network restrictions. It hides your traffic and makes it look like random noise, making it hard to block.


Main Features

  • Traffic Masking: Hides your data so it doesn't look like a VPN or proxy.
  • Fast & Reliable: Works well on unstable networks (like mobile data).
  • Easy Setup: Simple config files and one-click installers.
  • Universal: Works on Windows, Linux, and Android.
  • SOCKS5/HTTP: Supports standard proxy modes.
  • TUN Mode: Can act as a full VPN for your entire system.

Quick Install

Linux (Server or Client)

Run this command to install OSTP and set it up as a service:

bash <(curl -Ls https://raw.githubusercontent.com/ospab/ostp/master/scripts/install.sh)

Windows (Client)

Run this in PowerShell as Administrator:

irm https://raw.githubusercontent.com/ospab/ostp/master/scripts/install.ps1 | iex

How to Use

The ostp program can work in two modes: Server (on your VPS) and Client (on your local computer).

1. Create a Config File

Run the program with the --init flag to generate a template:

On Server:

./ostp --init server

On Client:

./ostp --init client

2. Configure

Server (config.json)

{
  "mode": "server",
  "listen": "0.0.0.0:50000",
  "access_keys": [
    "your-secret-key-here"
  ]
}

Client (config.json)

{
  "mode": "client",
  "server": "YOUR_SERVER_IP:50000",
  "access_key": "your-secret-key-here",
  "socks5_bind": "127.0.0.1:1088",
  "tun": {
    "enable": false
  }
}

3. Start

Run the program using your config:

./ostp --config config.json

TUN Mode (VPN for whole system)

To route all your traffic through OSTP, set "enable": true in the tun section of your client config.

  • Windows: Requires Administrator rights.
  • Linux: Requires Root rights.

License

OSTP is licensed under the Business Source License 1.1. It is free for personal and non-commercial use. It becomes MIT License on May 14, 2030.