• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Remove ipWhitelist or making it work

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.8k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jm
    last edited by Mar 5, 2017, 2:30 PM

    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.

    1 Reply Last reply Reply Quote 0
    • J Offline
      jm
      last edited by Mar 5, 2017, 2:48 PM

      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.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jm
        last edited by Mar 5, 2017, 3:26 PM

        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!

        1 Reply Last reply Reply Quote 0
        • R Offline
          roramirez Core Contributors
          last edited by Mar 5, 2017, 3:32 PM

          @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

          Easy module development with MagicMirror Module Template

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy