An open API service indexing awesome lists of open source software.

https://github.com/fusetim/r2lay

A simple TCP relay made in Rust
https://github.com/fusetim/r2lay

cli ipv6 ipv6-support proxy proxy-protocol proxy-server relay rust simple tcp tcp-relay

Last synced: 11 months ago
JSON representation

A simple TCP relay made in Rust

Awesome Lists containing this project

README

          

# R2lay
> Short for Rust Relay

A simple TCP relay made in Rust.

## Should support

- [x] CLI
- [x] IPv6 support
- [x] IPv4/IPv6 tunnel
- [x] TCP Proxy Protocol
* [x] Version 1
* [x] Version 2

## Usage

If you need logging, just use the env `RUST_LOG=` (for instance: `RUST_LOG=debug`).

```
r2lay 0.0.1
A simple TCP relay made in Rust.

USAGE:
r2lay [OPTIONS]

FLAGS:
-h, --help
Prints help information

-V, --version
Prints version information

OPTIONS:
-P, --proxy-protocol
Enable Proxy Protocol

Add Proxy Protocol header to each connection to the server. [default: disabled] [possible values: Disabled,
V1, V2]

ARGS:

The listening TCP address with IP(v4/v6) and port


Back-end TCP address with IP(v4/v6) and port
```

## License

Copyright 2021 - FuseTim

Available under MIT license terms.