Skip to content

lighkLife/rs-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs-proxy

A simple tcp proxy service.

rs-proxy

Why rs-proxy

Smaller, faster and more convenient. Save your "memory"!

Usage

./rs-proxy -h
rs-proxy 0.2.0
a simple tcp proxy service

USAGE:
    rs-proxy [OPTIONS]

OPTIONS:
    -c, --config <CONFIG>    rs-proxy.toml file
    -h, --help               Print help information
    -V, --version            Print version information

Config

[[proxy]]
name = "example1" 
listen = 21883
target = "127.0.0.1:1883"

[[proxy]]
enable = false # Optional, default true, set false to disable current proxy
name = "example2"
listen = 22883
target = "127.0.0.1:2883"

Examples

Communication across network segments.

rs-proxy-mqtt

Build

# build for x86 linux64
cargo build --release  --target x86_64-unknown-linux-gnu

# build for x86 windows64
cargo build --release  --target x86_64-pc-windows-gnu

# build for x86 windows32
cargo build --release  --target i686-pc-windows-gnu