Skip to content

Instantly share code, notes, and snippets.

View tnytown's full-sized avatar
⛈️

Andrew Pan tnytown

⛈️
View GitHub Profile
@tnytown
tnytown / udp_hole_punch_tester.py
Last active January 9, 2020 09:57 — forked from somic/udp_hole_punch_tester.py
UDP Hole Punching test tool
#!/usr/bin/env python
#
# udp_hole_punch_tester.py - UDP Hole Punching test tool
#
# Usage: udp_hole_punch_tester.py remote_host remote_port
#
# Run this script simultaneously on 2 hosts to test if they can punch
# a UDP hole to each other.
#
# * remote_port should be identical on 2 hosts.