Skip to content
New issue

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

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

Already on GitHub? # to your account

Not Working on mobile network #97

Open
plutphil opened this issue Dec 13, 2024 · 1 comment
Open

Not Working on mobile network #97

plutphil opened this issue Dec 13, 2024 · 1 comment

Comments

@plutphil
Copy link

Trying to use trystero on mobile network to control a simple light switch(homeassistant bridge in the future). https://plutphil.github.io/trysteroswitch/ https://github.com/plutphil/trysteroswitch but it doesn't work. p2p connections are difficult on mobile because of CG NAT (carrier grade network address translation) which blocks all p2p traffic. packets from different ip than expected, the first outgoing packet sets this ip, connection packet, event with udp.
I tried all free strategies. but none work.
I think it will only work with TURN. I once had TURN running with trystero on some random GitTea Server.
Can we use Nostr as TURN Server? Or am i missing something. Is it only used for peer finding?

@jeremyckahn
Copy link
Contributor

Generally speaking, you're going to need a proper TURN server set up to use Trystero effectively. I don't expect that Nostr could serve this need, but https://github.com/coturn/coturn and https://github.com/paullouisageneau/violet are good options. Hosting the server is a concern outside of Trystero's purview.

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

No branches or pull requests

2 participants