Error with network fixed IP / VPN acess

Core DAppNode Packages versions

  • bind.dnp.dappnode.eth: 0.2.6
  • core.dnp.dappnode.eth: 0.2.55
  • dappmanager.dnp.dappnode.eth: 0.2.50, commit: 552ab6c8
  • https.dnp.dappnode.eth: 0.1.3
  • ipfs.dnp.dappnode.eth: 0.2.16
  • wifi.dnp.dappnode.eth: 0.2.8
  • wireguard.dnp.dappnode.eth: 0.1.1

System info

  • dockerComposeVersion: 1.25.5
  • dockerServerVersion: 20.10.6
  • dockerCliVersion: 20.10.6
  • os: debian
  • versionCodename: bullseye
  • architecture: amd64
  • kernel: 5.10.0-9-amd64
  • Disk usage: 47%

Problem:

I got my dappnode like 15 days ago aprox.
I’ve been trying to configure the network to be able to connect via VPN but so far it has not been possible. There’s two main scenarios:

  1. Non-fixed IP.
    Even I configured my router to grant a fixed IP to the dappnode, when in the Network settings I don’t have the fixed IP set, Dappnode does not recognize upnp nor NAT loopback as working propperly.

On the other hand, it allows me to generate VPN profiles BUT, when I try to connect to them, I get the following:

The Geth and Goerli nodes are able to sync without issues and all the other services do also work correctly. It’s just the VPN not connecting.

  1. Fixed IP.
    If in the Network section of settings I set the same IP as I have assigned to the DappNode on my router, the scenario changes.

Now in the Diagnostic section, everything is green (UpNP service and NAT loopback are detected).
BUT, when I generate a new VPN profile I get this:

Error fetching credentials: Internal Server Error Error: Error creating localConfigFile: Error generating localConfigFile

Error: Error fetching credentials: Internal Server Error Error: Error creating localConfigFile: Error generating localConfigFile
    at Object.<anonymous> (/app/src/createLocalConfigFile.js:63:31)
    at step (/app/src/createLocalConfigFile.js:33:23)
    at Object.next (/app/src/createLocalConfigFile.js:14:53)
    at fulfilled (/app/src/createLocalConfigFile.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at /usr/src/app/webpack:/@dappnode/dappmanager/src/modules/wireguard/client.ts:86:11
    at Generator.next (<anonymous>)
    at fulfilled (/usr/src/app/index.js:270852:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
a@http://my.dappnode/static/js/main.ce604995.js:2:694480
7687/u/<@http://my.dappnode/static/js/main.ce604995.js:2:690192
n@http://my.dappnode/static/js/main.ce604995.js:2:10323
2820/h/e/<@http://my.dappnode/static/js/main.ce604995.js:2:10025
l@http://my.dappnode/static/js/main.ce604995.js:2:541368
5743/c/a._invoke@http://my.dappnode/static/js/main.ce604995.js:2:541157
5743/S/</<@http://my.dappnode/static/js/main.ce604995.js:2:541797
r@http://my.dappnode/static/js/main.ce604995.js:2:688019
s@http://my.dappnode/static/js/main.ce604995.js:2:688223
4795/o/</<@http://my.dappnode/static/js/main.ce604995.js:2:688282
4795/o/<@http://my.dappnode/static/js/main.ce604995.js:2:688162
p@http://my.dappnode/static/js/main.ce604995.js:2:9842
ga/e/<@http://my.dappnode/static/js/main.ce604995.js:2:799300
l@http://my.dappnode/static/js/main.ce604995.js:2:541368
5743/c/a._invoke@http://my.dappnode/static/js/main.ce604995.js:2:541157
5743/S/</<@http://my.dappnode/static/js/main.ce604995.js:2:541797
r@http://my.dappnode/static/js/main.ce604995.js:2:688019
s@http://my.dappnode/static/js/main.ce604995.js:2:688223

Geth and Goerly nodes sync propperly too whith this setup.

I think something is wrong with the dyndns config when the fixed IP is set. I tried also to configure a static DNS for dappnode.local which forwards to my dappnode fixed IP but it does not work.

In neither of the settings btw I can connect to the DappNode via dappnode.local. I can only access the device via WIFI.