troxy is a TLS proxy written in Rust. It is still in development.
The goal is to support the following features:
- protocol independent TLS proxy
- simple CLI interface
- support for protocols like HTTP and others
- interception and manipulation of TLS connections
- extensibility
You need to install the latest version of Rust. Use rustup or use the proper package with rustc and cargo for your distribution.
Create a wildcard certificate (FQDN *) in /tmp using1
cd /tmp
openssl req -nodes -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
Then run:
cargo run -- -k /tmp/key.pem -c /tmp/cert.pem
A proxy will be spawned on port 8080.
Footnotes
-
This is only needed during early development phase. ↩