Skip to content

A simple Rust port of kcptun for learning Rust and tokio_0.1

Notifications You must be signed in to change notification settings

hikaricai/kcptun_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

kcptun_rs

kcptun in rust to learn rust and tokio_0.1

writen on the National Day holiday of 2019 when I started to learn rust and tokio_0.1

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)

project progress

realize tcp proxy based on kcp and yamux crate

Todo

1.use full async await 2.replace yamux with h2

About

A simple Rust port of kcptun for learning Rust and tokio_0.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages