Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 660 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 660 Bytes

TCP Hole Punching

Description

p2p chat example for multiple users behind NAT using tcp hole punching

  • relay.py - STUN server file
  • user.py - p2p user(client) file

Environment

Case 1

  • STUN server
  • Client 1, 2 behind different iptime routers

Case 2

  • STUN server
  • Client 1 behind an iptime rounter(N704BCM model, NAT)
  • Client 2 behind IPhone hotspot(NAPT)

Report

Reference