a simple, cross-platform, multi-client TCP proxy
tcpproxy
is a cross-platform, multi-client TCP proxy written in rust, that is designed for those "one-time" tasks where you usually end up spending more time installing a proxy server and setting up the myriad configuration files and options than you do actually using it.
tcpproxy
is a command-line application. One instance of tcpproxy
should be started for each remote endpoint you wish to proxy data to/from. All configuration is done via command-line arguments, in keeping with the spirit of this project.
``` tcpproxy [-b BINDADDR] -l LOCALPORT -h REMOTEADDR -r REMOTEPORT
Options: -l, --local-port LOCALPORT The local port to which tcpproxy should bind to -r, --remote-port REMOTEPORT The remote port to which TCP packets should be forwarded -h, --host REMOTEADDR The remote address to which packets will be forwarded -b, --bind BINDADDR The address on which to listen for incoming requests -d, --debug Enable debug mode ```
Where possible, sane defaults for arguments are provided automatically.
tcpproxy
is available via crate
, the rust package manager. Installation is as follows:
cargo install tcpproxy
Pre-complied binaries for select platforms may be available from the tcpproxy
homepage at https://neosmart.net/tcpproxy/
tcpproxy
is open source and licensed under the terms of the MIT public license.