Skip to content

hikaricai/simple_proxy_on_h2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

A simple proxy demo based on http2 to learn rust and tokio0.2

QuickStart

Prepare Rust development environment

Clone this repo and cd into it

Run the following command

Server: cargo run server
Client: cargo run
ssh username@localhost -p2022

The above commands will establish port forwarding ssh channel as:

ssh_client -> Client(2022/tcp) -> Server -> TARGET_IP:(22/tcp)

which tunnels the original connection:

ssh_client -> TARGET_IP:(22/tcp)

About

a simple proxy demo based on http2 to learn rust and tokio0.2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages