Skip to content

MengJiangProject/redproxy-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Build and Test

redproxy-rs

Proxy routing tool. It can translate from one protocol to another, or select destnation proxy by policy

Protocol supported:

  • HTTP CONNECT with mTLS
  • HTTP CONNECT over QUIC
  • SOCKS v4,v4a,v5 with mTLS (TCP CONNECT ONLY)
  • TPROXY on linux, used with iptables REDIRECT, that is where the name comes from: RED(irect)PROXY
  • Reverse Proxy

Features:

  • Embedded Web Console
  • Prometheus integration
  • Access log in JSON format
  • Dynamic reconfigurable rules via RESTful API

Config example

see config.yaml

why would you build such things?

Just because I am feeling boring. I had a TypeScript version of this running on my router for years, and I just wanted to replace it with something nicer.