Read the statement by Michael Teeuw here.
How to set ipWhitelist for all device can acess to MagicMirror v2?
-
Been watching this forum… Thanks guys you helped me and you didn’t even know it LOL
I have 3 mirrors running and there was no sense trying to maintain 3 … so maintain 1 and run it off the other 2… :)
-
Oh yes, that worked perfectly. I couldn’t wait to get home to try it. Thank you, very much.
If I may ask: Now that I can see MM running on the Pi3 from another computer on my network, can I merely view it or is there some control of MM that I can use remotely? If so, can you direct me to where I can find those commands? If I should ask this question elsewhere then I apologize. Kindly direct me to where I should ask, if this is the case.
Again, thank you for your assistance and time and effort on my behalf.
-
@Mykle1 said in How to set ipWhitelist for all device can acess to MagicMirror v2?:
can I merely view it or is there some control of MM that I can use remotely?
http://beta.magicmirror.builders/module/24/remote-control ;)
-
If having “/24” in my ipWhitelist works, should it be fine without changing to “/120” ? This has been confusing me lately, so any help would be appreciated.
-
@Mykle1 Glad it all worked out!
@AAPS Theoretically you are fine but you are whitelisting a lot of IPs. Assuming you are talking about IPv6. Here is a brief explanation example:
192.168.1.1/24
subnet mask on IPv4 network would cover IP256
IP addresses ranging from192.168.1.0
to192.168.1.255
.Start IP: 192.168.1.0 End IP: 192.168.1.255 Addresses: 256 Class: Class C Netmask: 255.255.255.0. Binary: 11111111 11111111 11111111 00000000
::ffff:192.168.1.1/120
subnet mask on IPv6 network would also cover256
IP addressesStart Range: 0:0:0:0:0:ffff:c0a8:100 (IPv4 equivalent of 192.168.1.0) End Range: 0:0:0:0:0:ffff:c0a8:1ff (IPv4 equivalent of 192.168.1.255) Addresses: 256
Now if you have
::ffff:192.168.1.1/24
subnet mask on IPv6 network, you would allow20282409603651670423947251286016
IPs to access your mirror. Which seems to be alot, but remember that devices most likely have to be on your home network in the first place.Start Range: 0:0:0:0:0:0:0:0 End Range: 0:ff:ffff:ffff:ffff:ffff:ffff:ffff Addresses: 20282409603651670423947251286016
Here is a helpful cheat sheet for IPv4 and IPv6 subnet masks: https://kthx.at/subnetmask/
Hope this helps.
-
I seem to be fine, but do you recommend that I change anyway?
-
@AAPS It’s totally your call. I don’t think it affects anything as long as your network is closed and secure.
-
@morozgrafix Thanks! I am pretty late, but congrats to you and all the other new moderators.
-
@AAPS thank you.
-
@yawns Exactly what I was looking for. Thanks