HR-Proxy is a lightweight and fast HTTP reverse proxy written in Rust, designed with security and flexibility in mind.
It can be used as a frontend proxy to protect backend services, filter requests, and apply custom security rules.
- Basic WAF (Web Application Firewall) rules
- XSS protection
- Customizable SQL injection filters
- Request inspection and filtering
- Easily configurable backend routing
- High performance thanks to Rust
- Rust
- urlencoding
Make sure you have Rust installed:
bash rustc --version cargo --version
If not, install it from: https://www.rust-lang.org/tools/install
- Clone the repository:
bash git clone https://github.com/JMF-Alex/hr-proxy.git
- Enter the project directory:
bash cd hr-proxy
- Build the project:
bash cargo build --release
Run the proxy:
bash cargo run
Or using the compiled binary:
bash ./target/release/hr-proxy
Then configure your backend and start sending traffic through the proxy.
Contributions are welcome!
- Fork the repository
- Create a new branch (
git checkout -b feature/MyFeature) - Commit your changes (
git commit -m "Add new feature") - Push to your branch (
git push origin feature/MyFeature) - Open a Pull Request
Distributed under the MIT license.
See the LICENSE file for more information.