MLAPI.Puncher icon indicating copy to clipboard operation
MLAPI.Puncher copied to clipboard

Won't Punch / Question

Open t3therdev opened this issue 4 years ago • 2 comments

We have compiled the client and server examples.

We have a server (A) with a public ip behind a restricted cone nat. Our client (B) is behind a restricted cone as well. We have the Punch Server Host set to the public ip of (A) and we even opened the firewall port to 6776

On our client when we run the compiled console app, we get asked: [CONNECTOR] Enter the address of the listener you want to punch:

Which ip is this referencing?

Our goal is to simply create a punch / connection from B to A so that we can then proxy services from B to A as requested by A.

t3therdev avatar Sep 15 '20 20:09 t3therdev

Hi, any update on this?

t3therdev avatar Sep 17 '20 16:09 t3therdev

You call ListenForPunches on one computer behind one network. Then you call Punch on another computer on a different network, you pass the IP of the network where the "ListenForPunches" computer is located. This will punch a hole in the listeners NAT with the help of the punch server.

TwoTenPvP avatar Sep 17 '20 17:09 TwoTenPvP