/NAT-Punchthrough

Relay server and client implementation for hole punching

Primary LanguageRustGNU General Public License v3.0GPL-3.0

NAT Punchthrough

Simple Rust implementation of NAT hole punching technique for P2P needs, with no dependencies.

image

Build

cargo build --release

Server

Running the server requires no additional command line arguments.

Client

To run the client:

client <user group identifier string> <inbounding port>

The host data of a client will only be shared with other peers with the same group identifier.