Skip to content

shadowylab/reverseproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi protocol reverse proxy written in Rust

Getting started

Install from crates.io

cargo install reverseproxy

Install from source

Usage

  • General usage

    reverseproxy <protocol>://<address> <protocol>://<address>
  • Forward from local address to Tor hidden service (.onion) using socks5 proxy

    reverseproxy tcp://127.0.0.1:8080 tcp://torhiddenservice.onion:80 --socks5-proxy 127.0.0.1:9050
  • Forward from local address to local network address

    reverseproxy tcp://127.0.0.1:8080 tcp://othercomputer.local:80 
  • Forward from local address to Tor hidden service (.onion) using embedded Tor client

    reverseproxy tcp://127.0.0.1:8080 tcp://torhiddenservice.onion:80 --tor
  • Forward from local address to UNIX socket

    reverseproxy tcp://127.0.0.1:8080 unix:///tmp/temp.sock

To get more info use reverseproxy --help

License

This project is distributed under the MIT software license - see the LICENSE file for details