Webtorrent-desktop: Add port forwarding preference

Created on 28 Sep 2016  路  2Comments  路  Source: webtorrent/webtorrent-desktop

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!

enhancement

Most helpful comment

  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

All 2 comments

  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

+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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

feross picture feross  路  6Comments

barcazama picture barcazama  路  3Comments

tiotrom picture tiotrom  路  4Comments

gabrieldesouza picture gabrieldesouza  路  4Comments

feross picture feross  路  3Comments