Install from crates.io
cargo install reverseproxy
-
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
This project is distributed under the MIT software license - see the LICENSE file for details