realm is a simple, high performance relay server written in rust.
- Zero configuration. Setup and run in one command.
- Concurrency. Bidirectional concurrent traffic leads to high performance.
- Low resources cost.
Realm 1.x
A high efficiency proxy tool
USAGE:
realm [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-u, --udp enable udp
-V, --version Prints version information
OPTIONS:
-c, --config <path> use config file
-l, --listen <addr> listen address
-r, --remote <addr> remote address
SUBCOMMANDS
Start from command line arguments:
realm -l 127.0.0.1:5000 -r 1.1.1.1:443 --udp
Use a config file:
realm -c config.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