| Crates.io | thru |
| lib.rs | thru |
| version | 0.1.5 |
| created_at | 2024-04-30 02:58:33.922429+00 |
| updated_at | 2024-05-19 16:33:45.350519+00 |
| description | A QUIC tunnel for TCP/UDP |
| homepage | https://github.com/plestoon/thru |
| repository | https://github.com/plestoon/thru |
| max_upload_size | |
| id | 1224639 |
| size | 77,475 |
A QUIC tunnel for TCP/UDP.
cargo install thru
TCP through QUIC.
Forward QUIC traffic to tcpbin echo server.
thru -t quic://0.0.0.0:4242==tcp://tcpbin.com:4242 --cert certchain.pem --key key.pem
Forward TCP tranffic to QUIC tunnel.
thru -t tcp://127.0.0.1:4242==quic://example.com:4242 --peer-cert root.pem
nc 127.0.0.1 4242
On the client side, --peer-cert is for the client to specify the server's root certificate.
It's only needed for self-signed certificates and if it hasn't been installed on the system keystore.