Skip to content

Two DAppNodes on the single (local) network #986

@3alpha

Description

@3alpha

Currently, DAppNode assumes that is only such device on the network. However, there has been an intrest to make DAppNodes aware of each other so that they are able to run in the single local network concurrently.

To acomplish that, following changes should be made to DAppManager.

  • Refactoring of UPnP module. Currently, DAppManager scans for the ports exposed by the Docker containers and asks router via UPnP to expose same ports to the Internet. With two DAppNodes on the same network, that won't be possible anymore. With the packages that use ephimeral ports that won't be an issue, but packages that use fixed ports, like VPN and DNP_HTTPS, additional step will have to be taken to make experience seamless.
  • At start time, DAppManager should detect whether "DAppNode" wifi network exists and start DNP_WIFI container with some other SSID
  • Also, it should detect whether 'dappnode.local' domain resolves on the local network and change it to something else. For this small changes in DNP_HTTPS are necessary.
  • For DNP_WIREGUARD, DAppManager should change port that is exposed to the outside and reflect that in configuration files

It is important to note that experience with DNP_HTTPS on second DAppNode will be little worse since in the domain will be necessary to specify port.

Metadata

Metadata

Assignees

Labels

P1Has to be done but not urgentnetworkingTasks related to networkingwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions