Read the statement by Michael Teeuw here.
Issue with White list IP(s) not working :(
-
So, After a research about all this mess it up, the problem was a bug inside of ipfilter and MagicMirror too. When I added inside the sample config I’ve using express-ipfilter@0.2.4 In this version has a bug was fixed in 0.3.1 https://github.com/baminteractive/express-ipfilter/commit/4adc5dc33e6ef5086e36a7a56184da7cdcd056bf
The bug for MagicMirror was fixed some weeks ago,
https://github.com/MichMich/MagicMirror/commit/a7297d2685f5ed9b6b34df496065f05ee0d36568You can using now the develop branch or install express-ipfilter previous of the 0.3.1
-
@roramirez said in Issue with White list IP(s) not working :(:
You can using now the develop branch or install express-ipfilter previous of the 0.3.1
Ahh, thank you! :^)
-
@roramirez does that mean that I only have to do an
npm install express-ipfilter
from the rooter with my console, if I have the actual magic mirror installed?
tnx
Peter
-
Nice one.
-
How to white list all IP(s), to make magicmirror public??
-
Disabling IPv6 fixed the issue for me.
-
where did u disable it?
-
@knubbl - It will be at your router. It depends on the brand, but this sort of thing is usually in the advanced menu.
… or you could follow the instructions in the post here.
-
-
Are you giving your raspberry pi an ip address of “0.0.0.0”?
Why?
The address line should be the IP address of your pi.
Having it listen on any interface hasn’t really worked well.
Then the whitelist is an array of ip address. If you leave it empy (ex. []) then all the devices on your network will be able to access your mirror.
This is what mine looks like:
var config = { address: "192.168.2.48", port: 8080, ipWhitelist: [],
This especially makes a difference when using the “Restfull-ish” API. It is necessary to give the address line an ip address :)