Skip to content

finafisken/udp-hole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDP Hole

Small server for "UDP hole punching" to traverse NAT between clients.

Clients send a message GAME###{game_id} and get back corresponding player's ip:port for UDP traffic

Setup

Start the UDP hole image on a server with a public ip

docker run -d -p 3400:3400/udp ghcr.io/finafisken/udp-hole:latest

Test it

Run in the terminal of two different network devices, replace X.X.X.X with servers public ip

echo -n "GAME###abc123" | nc -u X.X.X.X 3400

About

Small server for UDP hole punching

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors