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

Reflections on the user's firewall? #50

Closed
s-a opened this issue Oct 26, 2016 · 1 comment
Closed

Reflections on the user's firewall? #50

s-a opened this issue Oct 26, 2016 · 1 comment

Comments

@s-a
Copy link

s-a commented Oct 26, 2016

First of all thanks for sharing this library. It works all out of the box and I was able to create a serverless website with node and crome in a few minutes. I d like to ask. Do there exist considerations for the web site visitors firewall which blocks webtorrent' s communication?

@feross
Copy link
Member

feross commented Jan 21, 2017

Yes, WebRTC takes care of NAT hole punching for you. I recommend reading https://www.html5rocks.com/en/tutorials/webrtc/basics/#toc-signaling and also reading about STUN and TURN.

Especially if you want to guarantee reliable delivery of your torrent, consider using either a web seed (an http server that hosts the torrent contents) or a TURN server (a centralized endpoint that both peers can connect to if they can't connect directly to each other).

@feross feross closed this as completed Jan 21, 2017
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

2 participants