Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect clients using WAN #47

Open
bokidotnet opened this issue Dec 9, 2022 · 7 comments
Open

Connect clients using WAN #47

bokidotnet opened this issue Dec 9, 2022 · 7 comments

Comments

@bokidotnet
Copy link

Hi Miroslave,

Can you tell me is there any practical workaround to connect clients over WAN IP's directlly since you have WAN IP's as well?
In local lan working very well.

Nice work!

Keep going.

Cheers.

@miroslavpejic85
Copy link
Owner

miroslavpejic85 commented Dec 16, 2022

Hi @bokidotnet,

In theory, by pasting Your WAN IP:Port to other peer and vice versa, then pressing Connect (both) at the same time, you should be able to establish a connection?

Thank you.

@bokidotnet
Copy link
Author

I know but that is theory. I tested already and didn't work over wan.

@CodeDiseaseDev
Copy link

having same issue, i assume the STUN servers dont matter for p2p??

@CodeDiseaseDev
Copy link

the stun servers that work on my pc at home dont work on my laptop
and the ones that work on my laptop dont work on my pc at home...

@phungxuanvuong
Copy link

I know but that is theory. I tested already and didn't work over wan.

Yes Im facing with same issue. Cannot connect through wan

@teamdArk5
Copy link

I know but that is theory. I tested already and didn't work over wan.

Yes Im facing with same issue. Cannot connect through wan

Hello, can you connect via wan now?

@miroslavpejic85
Copy link
Owner

STUN (Session Traversal Utilities for NAT) enables peer-to-peer connections by allowing devices behind network address translation (NAT) to discover their public IP addresses and determine the best way to establish a connection. However, in certain scenarios like symmetric NAT or strict firewalls, STUN might not work. Symmetric NAT creates unique mappings for each connection, hindering STUN's ability to find the correct address for direct communication. Similarly, strict firewalls might block STUN requests, preventing the establishment of peer-to-peer connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants