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.

    Annother IPWhitelist question

    Scheduled Pinned Locked Moved Troubleshooting
    12 Posts 4 Posters 6.8k Views 4 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.
    • P Offline
      psteimann
      last edited by

      hi.

      whats the string to get all ip-ranges (internal and external) access to MM2?

      as documented

      MM2 stays black and there is also no access via http

      anybody can explain exactly the parameters of the string?

      tnx

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @psteimann
        last edited by

        @psteimann

        I think they have some sort of workaround in this topic

        https://forum.magicmirror.builders/topic/4716/issue-with-white-list-ip-s-not-working/13

        I just upgraded to MM 2.1.2 and my Whitelist went on extended vacation. :-(

        Create a working config
        How to add modules

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          roramirez Core Contributors @Mykle1
          last edited by

          @Mykle1 What configuration for your ipWhiteList have it?

          Easy module development with MagicMirror Module Template

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @roramirez
            last edited by

            @roramirez

            In v2.1.1.

            var config = {
            	port: 8080,
            	ipWhitelist: [], // Set [] to allow all IP addresses.
            

            I tried this in v 2.1.2 and it crashed the mirror

            Create a working config
            How to add modules

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              roramirez Core Contributors @Mykle1
              last edited by

              @Mykle1 said in Annother IPWhitelist question:

              I tried this in v 2.1.2 and it crashed the mirror

              Can you provider more information of the crash…?

              Easy module development with MagicMirror Module Template

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @roramirez
                last edited by Mykle1

                @roramirez said in Annother IPWhitelist question:

                Can you provider more information of the crash…?

                No, because I was unable to get out of the mirror to look at the console or the terminal. I had to power down the mirror and reboot. I deleted the install of 2.1.2 and moved back to v 2.1.1

                Create a working config
                How to add modules

                P 1 Reply Last reply Reply Quote 0
                • R Offline
                  roramirez Core Contributors
                  last edited by

                  See https://forum.magicmirror.builders/post/27658

                  Easy module development with MagicMirror Module Template

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    psteimann @Mykle1
                    last edited by

                    @Mykle1 @roramirez

                    Exactly the same issue and behaviour here…

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      B3nihana
                      last edited by

                      When I use

                      ipWhitelist: [],
                      

                      Any IP I use shows as blocked. I’m using an RPi 2 with “node serveronly”.

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        roramirez Core Contributors @B3nihana
                        last edited by

                        @B3nihana Please, use a develop branch or apply the patch https://github.com/MichMich/MagicMirror/commit/a7297d2685f5ed9b6b34df496065f05ee0d36568#diff-9d4f93dd73c92e4e5730a5c2e0146ad4L33

                        Easy module development with MagicMirror Module Template

                        P 1 Reply Last reply Reply Quote 1
                        • P Offline
                          psteimann @roramirez
                          last edited by

                          @roramirez Works like a charm…

                          Thaaaaank you!!!

                          1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer
                            last edited by

                            @roramirez said in Annother IPWhitelist question:

                            Please, use a develop branch or apply the patch

                            I went to the develop branch. I would also like to confirm that the Whitelist issue, as far as this entry is concerned, has been fixed:

                            var config = {
                            	address: "localhost",
                            	port: 8080,
                            	ipWhitelist: [],
                            

                            0_1504655785434_dev.JPG

                            So, thank you @roramirez

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 1

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • 1 / 1
                            • First post
                              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