webtorrent-desktop icon indicating copy to clipboard operation
webtorrent-desktop copied to clipboard

Add port forwarding preference

Open ZaneCEO opened this issue 8 years ago • 2 comments

I'm looking for WebTorrent Desktop ports informations for port-forwarding on the router.

  1. Which TCP ports does it use for communicating with other "standard" BitTorrent clients?
  2. Is it possible to change the default ports?
  3. Does it use UPnP? if so, can we turn it off?
  4. What about WebRTC communications with other non-Desktop WebTorrent clients? which ports are used here?

Thanks!

ZaneCEO avatar Sep 28 '16 21:09 ZaneCEO

  1. Which TCP ports does it use for communicating with other "standard" BitTorrent clients?

Random port, changed automatically on startup.

  1. Is it possible to change the default ports?

Underlying webtorrent torrent engine support it. Just need to expose a preference.

  1. Does it use UPnP? if so, can we turn it off?

No UPnP support yet. Once we have that, we'll add a preference.

  1. What about WebRTC communications with other non-Desktop WebTorrent clients? which ports are used here?

The ports used are different each time, chosen by the WebRTC stack in Chromium. If you want to ensure communication only over a single port, then we'll need another option to disable WebRTRC peers.


I'm okay adding a new "Networking" section to the preferences, for these options. But it ought to be hidden by default, like we do today on the Create Torrent page:

screen shot 2016-10-30 at 4 22 50 pm

feross avatar Oct 30 '16 23:10 feross

+1 for UPnP support. Right now it's hard to punch through my router without knowing which port WebTorrent is using. If it has UPnP then I don't even have to worry about configuring the router to open ports.

alphabt avatar Sep 28 '19 15:09 alphabt

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

github-actions[bot] avatar Oct 16 '22 12:10 github-actions[bot]

@feross You seem to have knowledge regarding the status of this issue, any news or reasons as to why this can't be added?

erazemk avatar Oct 16 '22 12:10 erazemk

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

github-actions[bot] avatar Dec 17 '22 12:12 github-actions[bot]