mirror of
https://github.com/zhboner/realm.git
synced 2026-11-17 16:17:22 +00:00
5d5d1fc032d45c609c1ec8d538662bbf73d670cf
Introduction
realm is a simple, high performance relay server written in rust.
Features
- Zero configuration. Setup and run in one command.
- Concurrency. Bidirectional concurrent traffic leads to high performance.
- Low resources cost.
Usage
realm -c config.json
example.json
{
"dns_mode": "ipv4_only",
"endpoints": [
{
"local": "0.0.0.0:5000",
"remote": "1.1.1.1:443",
"udp": false
}
{
"local": "0.0.0.0:10000",
"remote": "www.google.com:443",
"udp": true
}
]
}
dns_mode
ipv4_only|ipv6_only|ipv4_and_ipv6|ipv4_then_ipv6|ipv6_then_ipv4
Languages
Rust
99.1%
C
0.3%
Dockerfile
0.3%
C++
0.2%
Makefile
0.1%
