WebRTC and STUN Servers look like a good option for creating a connection between 2 clients. Maybe use try https://peerjs.com/