Skip to content

Remote port forwarding (reverse tunneling) with Russh to serve an Axum application.

License

Notifications You must be signed in to change notification settings

BadMannersXYZ/russh-axum-tcpip-forward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Russh + Axum + tcpip_forward!

A Rust project demonstrating how to serve Axum's HTTP server on a remote host's port, using SSH tunneling and streaming to avoid opening a socket on the client.

Tokio, Tower, and hyper are responsible for gluing everything together with async. They are pretty awesome!

Usage

With localhost.run:

cargo run -- localhost.run -i ~/.ssh/id_ed25519 -l username --request-pty ""

With sish:

cargo run -- tuns.sh -i ~/.ssh/id_ed25519 -R test

About

Remote port forwarding (reverse tunneling) with Russh to serve an Axum application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages