Skip to content

Forwards TCP packets from 127.0.0.1:<PORT> to <ADDRESS>:<PORT>

Notifications You must be signed in to change notification settings

hishboy/rust-tcp-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-tcp-proxy

Forwards TCP packets from 127.0.0.1:<PORT> to <ADDRESS>:<PORT>

Setup

Install Rust and Cargo

curl https://sh.rustup.rs -sSf | sh

The command will download a script, and start the installation. If everything goes well, you’ll see this appear:

Rust is installed now. Great!

Usage:

The following command will start a server on port 8000 and forward all tcp packets to 172.217.20.110 port 5000 cargo run 127.0.0.1:8000 172.217.20.110:5000

About

Forwards TCP packets from 127.0.0.1:<PORT> to <ADDRESS>:<PORT>

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages