#proxy #tcp #vsock #connection #traffic #v-sock #proxying

app vsock-proxy

A minimal CLI to proxy TCP traffic to or from VSock

3 releases

0.1.2 Oct 3, 2023
0.1.1 Oct 3, 2023
0.1.0 Oct 3, 2023

#5 in #vsock

MIT license

13KB
274 lines

vsock-proxy

A utility crate for proxying connections between TCP and Vsock.

Install

cargo install vsock-proxy

Examples

Proxy from TCP to VSock

vsock-proxy --tcp-source 127.0.0.1:8008 --vsock-dest 1234:5678

### Proxy from VSock to TCP

vsock-proxy --vsock-source 3:6789 --tcp-dest 127.0.0.1:5000

Dependencies

~6–14MB
~178K SLoC