http and https reverse proxy server
Go to file
2025-04-06 20:18:08 +03:00
src remove websocket config 2025-04-06 20:16:15 +03:00
.gitignore some dumb funk 2025-04-06 20:09:46 +03:00
Cargo.lock cargo lock 2025-04-06 20:18:08 +03:00
Cargo.toml merge commit 2025-04-06 20:14:11 +03:00
conf.yml remove websocket config 2025-04-06 20:16:15 +03:00
README.md remove rustls 2025-04-06 03:06:28 +03:00

Flowgate

HTTP requests redirection system

Features:

  • Request redirection
  • SSL/TLS support
  • Keep-alive connections
  • Sending IP in header (X-Real-IP)

TODO:

  • Remove panics
  • Creating trees of flowgate
  • Filter by headers
  • Modify response headers

IP forwarding types

  • None (none):
    Do nothing
  • Modern (modern):
    Appends encoded to bytes ip to the beginning of the request
  • Simple (simple):
    Appends ip:port\n to the beginning of the request
  • Header (header[:HEADER_NAME]):
    Adds header HEADER_NAME: ip:port to the request

How to run

You need Rust installed with cargo!

cargo run # --------------------------------- # Run
cargo run --release # ----------------------- # Run release
cargo build && sudo ./target/release/flowgate # Run with root
cargo build # ------------------------------------------------ # Build
cargo build --release # -------------------------------------- # Build release
cargo build --release --no-default-features --features FEATURE # Build with feature