Read the statement by Michael Teeuw here.
ipWhitelist HowTo
-
Is the smartphone on your wifi? If it is, just follow the steps to add your whole subnet.
If you’re trying to access it while using the phone’s network, that’s going to be harder. You’re going to have to configure your router to allow port forwarding to your pi, then figure out what your phones IP is. Then you could be safe and only allow that IP. The problem with that is when your IP changes, you’ll have to edit your whitelist again. You could try to add the class C or D subnet if you don’t want to worry too much about this, but you’ll be opening up your network to the internet in the process so good luck!
-
@mochman Yes, it is in the same network, also I’ve tried sharing internet from my smartphone, and nothing.
Which steps should I follow? -
Please follow the steps outlined at the top of this page. Let me know what you’re seeing when you do those steps.
-
@mochman It’s working! Thanks!
-
The default of [] doesn’t work at all for me. I’m happy to let all devices on my network access my mirror, how do I do this?
It’s not the simplest of features is it!
Hoping someone can help me here :/
-
@Mitchfarino Are you sure?, Can you show the config/config.js ?
There some logs when did you run and access it?
-
I’m just at work at the moment, so I’ll post my config when I get home.
When I leave it as it originally was in the config, the mirror loads but I can’t get MMM-RemoteControl to work as it gives me the permission error
Then when I replace it with [] it fails to load the mirror and tells me to create a config.js file
-
The remoter control module is not working for me to any extent, when I whitelist the IPs for my school’s wifi (following the HowToWhitelistIP thread’s directions) in every way stated, I get the “this device is not allowed to access…” message. Then, when I allow all IPs access I get the “cannot get remote/html” message. Any help would be great! Thanks!
-
Hi @mochman,
I was wondering, if the whitelist could be used to limit the access to different MM sub-sites? I would like to have the MM screen itself open to a larger set of IP addresses but would like to lock down the MMM-RemoteControl & MMM-AdminInterface sites and limit access to my own devices.
Any idea how to achieve this?
Thanks for your advice! -
It helps to read a little…
http://searchsecurity.techtarget.com/definition/application-whitelisting+|
ipWhitelist
| The list of IPs from which you are allowed to access the MagicMirror². The default value is["127.0.0.1", "::ffff:127.0.0.1", "::1"]
. It is possible to specify IPs with subnet masks (["127.0.0.1", "127.0.0.1/24"]
) or define ip ranges (["127.0.0.1", ["192.168.0.1", "192.168.0.100"]]
). Set[]
to allow all IP addresses. For more information about how configure this directive see the follow post ipWhitelist HowTo |