Ombrac is a high-performance, Rust-based TCP tunneling solution designed for secure communication between clients and servers.
Ombrac is organized into three main crates
ombrac: Core library implementing the tunnel protocolombrac-client: Ombrac client implementationombrac-server: Ombrac server implementationombrac-macros: Ombrac macros implementationombrac-transport: Ombrac transport implementationDownload the latest release from the releases page.
cargo build --bin ombrac-client --bin ombrac-server --features binaryNOTE: On linux systems, aws-lc-rs will be used for cryptographic operations. A C compiler and CMake may be required on these systems for installation.
ombrac-server --listen "[::]:443" --tls-cert "./cert.pem" --tls-key "./key.pem"Starts the Ombrac server listening on port 443, using the provided TLS certificate and key for encrypted communication.
ombrac-client --socks "127.0.0.1:1080" --server-address "example.com:443"Will sets up a SOCKS5 server on 127.0.0.1:1080, forwarding traffic to example.com:443.
When using a self-signed certificate, the client requires both the --server-name parameter and the --tls-cert path to be explicitly configured.
Usage: ombrac-server [OPTIONS] --listen <ADDR> --tls-cert <FILE> --tls-key <FILE>
Options:
-h, --help Print help
-V, --version Print version
Transport QUIC:
--listen <ADDR>
Transport server listening address
--tls-cert <FILE>
Path to the TLS certificate file for secure connections
--tls-key <FILE>
Path to the TLS private key file for secure connections
--congestion-initial-window <NUM>
Initial congestion window in bytes
--max-idle-timeout <TIME>
Connection idle timeout in millisecond
--max-keep-alive-period <TIME>
Connection keep alive period in millisecond
--max-open-bidirectional-streams <NUM>
Connection max open bidirectional streams
Logging:
--tracing-level <TRACE> Logging level e.g., INFO, WARN, ERROR [default: WARN]Usage: ombrac-client [OPTIONS] --server-address <ADDR>
Options:
-h, --help Print help
-V, --version Print version
Endpoint SOCKS:
--socks <ADDR> Listening address for the SOCKS server [default: 127.0.0.1:1080]
Transport QUIC:
--bind <ADDR>
Bind address
--server-name <STR>
Name of the server to connect
--server-address <ADDR>
Address of the server to connect
--tls-cert <FILE>
Path to the TLS certificate file for secure connections
--congestion-initial-window <NUM>
Initial congestion window in bytes
--max-idle-timeout <TIME>
Connection idle timeout in millisecond
--max-keep-alive-period <TIME>
Connection keep alive period in millisecond
--max-open-bidirectional-streams <NUM>
Connection max open bidirectional streams
Logging:
--tracing-level <TRACE> Logging level e.g., INFO, WARN, ERROR [default: WARN]Contributions are welcome! Feel free to fork the repository, submit issues, or send pull requests to help improve Ombrac.
This project is licensed under the Apache-2.0 License.