Skip to content

47-ronn/transparent-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transparent Proxy

Rust-based transparent HTTP/HTTPS proxy with WebSocket support.

Features

  • HTTP proxy on port 80
  • HTTPS proxy on port 443 with SSL (via acme.sh)
  • Full WebSocket/Upgrade support
  • Minimal binary size (~3MB stripped)
  • Systemd service integration

Configuration

Create /etc/transparent-proxy.toml:

listen_port = 80
listen_port_tls = 443
upstream = "YOUR_UPSTREAM_IP"
upstream_port = 5000
ssl_cert = "/etc/ssl/acme/fullchain.pem"
ssl_key = "/etc/ssl/acme/key.pem"

Build

cargo build --release
strip target/release/transparent-proxy

Logging

journalctl -u transparent-proxy -f

Environment Variables

  • RUST_LOG - Logging level (default: info)

About

Transparent HTTP/HTTPS proxy with WebSocket support

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages