• 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.

ipWhitelist HowTo

Scheduled Pinned Locked Moved Tutorials
83 Posts 36 Posters 128.0k Views 34 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.
  • M Offline
    mochman Module Developer
    last edited by Mar 17, 2017, 10:48 AM

    Have you tried adding "10.0.0.1/24" to the list since it looks like your client is using an IPv4 connection?

    S 1 Reply Last reply Mar 17, 2017, 12:33 PM Reply Quote 1
    • S Offline
      Snille Module Developer @mochman
      last edited by Mar 17, 2017, 12:33 PM

      @mochman Hmm… Clearly I have missunderstood something. I thought this: “::ffff:10.0.0.1/120” was to allow my 10.0.0.x network to access, I have used that from the beginning and it has worked. But yesterday it stopped working. So I added as you suggested “10.0.0.1/24” and it works… So, Thank you! :)

      In the instructions in the first post, it’s suppose to be “::ffff:10.0.0.1/120” for a full C-Net. But… Not any more obviously. :)

      Thanks again! I’m all happy now!

      If you cant find it, make it and share it!
      Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

      1 Reply Last reply Reply Quote 0
      • M Offline
        mochman Module Developer
        last edited by Mar 17, 2017, 6:16 PM

        It looks like your raspberry pi started using IPv4 instead of IPv6. the ::ffff: before your ip shows that it’s trying to use a IPv6. That’s where "::ffff:10.0.0.1/120" was working. Seems like something changed though that it’s now using the IPv4 address.
        So to cover all your bases, keep both "::ffff:10.0.0.1/120" and "10.0.0.1/24" in and you shouldn’t run into this problem again.

        S 1 Reply Last reply Mar 17, 2017, 6:51 PM Reply Quote 0
        • S Offline
          Snille Module Developer @mochman
          last edited by Mar 17, 2017, 6:51 PM

          @mochman Will do, thank you, no idea what changed the behavior. :) But at least I have a totally fresh install now! :)

          If you cant find it, make it and share it!
          Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

          1 Reply Last reply Reply Quote 0
          • P Offline
            pepemujica
            last edited by Apr 10, 2017, 1:11 PM

            Hi @mochman !! I can access from the same device where I run the MM, but can’t access from external devices (smartphone ie)
            Any idea why?

            Kind regards

            1 Reply Last reply Reply Quote 0
            • M Offline
              mochman Module Developer
              last edited by Apr 10, 2017, 9:01 PM

              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!

              P 1 Reply Last reply Apr 10, 2017, 9:15 PM Reply Quote 0
              • P Offline
                pepemujica @mochman
                last edited by Apr 10, 2017, 9:15 PM

                @mochman Yes, it is in the same network, also I’ve tried sharing internet from my smartphone, and nothing.
                Which steps should I follow?

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mochman Module Developer
                  last edited by Apr 11, 2017, 8:14 PM

                  Please follow the steps outlined at the top of this page. Let me know what you’re seeing when you do those steps.

                  P 1 Reply Last reply Apr 12, 2017, 12:34 PM Reply Quote 0
                  • P Offline
                    pepemujica @mochman
                    last edited by Apr 12, 2017, 12:34 PM

                    @mochman It’s working! Thanks!

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mitchfarino Module Developer
                      last edited by Mitchfarino May 2, 2017, 10:31 PM May 2, 2017, 10:09 PM

                      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 :/

                      R 1 Reply Last reply May 3, 2017, 2:37 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 8
                      • 9
                      • 2 / 9
                      • 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