Skip to content

Irvingouj/rusty-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP over SSH Proxy Server in Rust 🦀


🌟 Features

  • 📡 Handles both HTTP and HTTPS requests.
  • 🚀 High performance due to non-blocking I/O.
  • 🛠️ Easy to set up and use.
  • ⚙️ Highly configurable.
  • Allow Tunneling over SSH

🏁 Getting Started

Clone the repo:

git clone https://github.com/Irvingouj/rusty-proxy.git

Navigate into the directory:

cd simple-proxy-rust

Run the project:

cargo run

🎯 How to Use

Run the server:

cargo run

Test the proxy with curl:

curl -x http://localhost:3000 -k https://www.google.com

Example Configuration

[server]
host = "127.0.0.1"
port = 5123

[ssh_config]
username = "your-ssh-username"
password = "your-ssh-password"
ssh_server_address = "ssh-server-address"
ssh_server_port = 22
russh_config = 30

if ssh_config is present, then it will use ssh tunneling. If you just want to use a simple proxy, only fill up server.

💻 Requirements

  • Rust 2018 edition or later.

🤝 Contributing

Feel free to submit pull requests, create issues, or ask questions. We're open to all kinds of contributions!

📝 License

MIT License - see LICENSE for details.

Made with 💖 and 🦀

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors