Encapsulate TCP connections inside HTTP WebSockets
tcp
Go to file
2022-08-31 11:21:23 +02:00
base Get server configuration from client 2022-08-30 10:38:26 +02:00
tcp_relay_client Optimize root certificate management on client side 2022-08-31 11:21:23 +02:00
tcp_relay_server Optimize root certificate management on client side 2022-08-31 11:21:23 +02:00
.gitignore Can specify custom server root certificate for client 2022-08-31 10:59:07 +02:00
Cargo.lock Can specify custom server root certificate for client 2022-08-31 10:59:07 +02:00
Cargo.toml Initial commit 2022-08-30 09:43:53 +02:00
README.MD Add readme 2022-08-30 15:26:23 +02:00

TCP over HTTP

This project aims to provide an easy-to-setup TCP forwarding solution:

|--------|              |--------|                     |--------|              | -------|
|        |              | Client |                     | Server |              |        |
| Client | -- TCP xx -- |        | -- HTTP 80 / 443 -- |        | -- TCP xx -- | Server |
|        |              |  Relay |                     |  Relay |              |        |
|--------|              |--------|                     |--------|              |--------|

This project can be used especially to bypass firewalls that blocks traffics from ports others than the 80 / 443 duo.

This repository contains two binaries:

  • tpc_relay_server: The server relay
  • tcp_relay_client: The client relay

The clients relay authenticates itself to the server using a token.

A single server - client relay pair can relay multiple ports simultaneously from the same machine.