Remove ipWhitelist or making it work



  • I tried every possible way of adding IP’s of my local network to the ipWhitelist. Still, it doesn’t allow any other device except for the Pi to acces the mirror. Is there

    a) another way (I tried the Howto mentioned elsewhere already) to add IP’s to my whitelist?
    b) a possibility to remove the ipWhitelist altogether, and just have it accepting connections from any device on the LAN?

    My current config is:

      ipWhitelist: [
                    "::ffff:10.0.1.1/24",
                    "10.0.1.118",
                    "10.0.1.105",
                    "10.0.1.104",
                    "::ffff:10.0.1.105/24",
                    "::ffff:10.0.1.1/112",
                    "::ffff:10.0.0.0/1",
                    "::ffff:128.0.0.0/2",
                    "::ffff:192.0.0.0/3",
                    "::ffff:224.0.0.0/4",
                    "127.0.0.1",
                    "::ffff:127.0.0.1",
                    "::1"
                    ],
    
    

    I cannot connect from 10.0.1.118 of 10.0.1.105. Node-log shows: Acces denied.



  • I forgot to mention that it doesn’t work on 10.0.1.104 too. Other than that the Mirror is running smoothly on the Pi (Pi Zero W that is) and I can SSH into the Pi without any issues.



  • Okay, nevermind. After a reboot, it seems like everything is working. I don’t know exactly what worked, but I’m glad it is solved now.

    Happy mirroring!


  • Core Contributors

    @jm said in Remove ipWhitelist or making it work:

                "::ffff:10.0.1.105/24",
    

    You need set

                "::ffff:10.0.1.0/24",  "10.0.1.0/24"
    

    /24 is for subnets => 10.0.1.1/24 = 10.0.1.1 - 10.0.1.255
    /32 match specific IP => 10.0.1.10/32 = 10.0.1.10

    I like remove this validation if set any special configuration. I don’t know what can be the most apropiated

    • new variable
    • ipWhitelist: [] - false - null - true

Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.