Skip to content

gabrielecabrini/tcp-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Proxy

This project is a simple, configurable TCP proxy that forwards traffic from one server to another. It is built using Rust and the tokio async runtime, which allows it to handle multiple concurrent connections efficiently.

Features

  • TCP Forwarding: Listens for incoming TCP connections and forwards them to a specified upstream server.
  • Configuration: Configurable via a YAML file (config.yml) that specifies the servers to forward traffic to, along with their listen and forward addresses.
  • Debug Mode: Debug logs for tracking data transfer and connection events.
  • Graceful Connection Handling: Ensures connections are forwarded while handling errors like connection resets or aborts.
  • Async Architecture: Fully asynchronous implementation using tokio for handling multiple connections concurrently.

About

Simple configurable TCP Proxy made with async Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •  

Languages