• 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 118.5k 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.
  • R Offline
    roramirez Core Contributors @Mitchfarino
    last edited by May 3, 2017, 2:37 AM

    @Mitchfarino Are you sure?, Can you show the config/config.js ?

    There some logs when did you run and access it?

    Easy module development with MagicMirror Module Template

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mitchfarino Module Developer
      last edited by May 3, 2017, 6:46 AM

      I’m just at work at the moment, so I’ll post my config when I get home.

      When I leave it as it originally was in the config, the mirror loads but I can’t get MMM-RemoteControl to work as it gives me the permission error

      Then when I replace it with [] it fails to load the mirror and tells me to create a config.js file

      1 Reply Last reply Reply Quote 0
      • T Offline
        twosix
        last edited by May 9, 2017, 11:51 PM

        The remoter control module is not working for me to any extent, when I whitelist the IPs for my school’s wifi (following the HowToWhitelistIP thread’s directions) in every way stated, I get the “this device is not allowed to access…” message. Then, when I allow all IPs access I get the “cannot get remote/html” message. Any help would be great! Thanks!

        1 Reply Last reply Reply Quote 0
        • R Offline
          rudibarani Project Sponsor @mochman
          last edited by rudibarani Jun 25, 2017, 12:52 PM Jun 25, 2017, 12:52 PM

          Hi @mochman,
          I was wondering, if the whitelist could be used to limit the access to different MM sub-sites? I would like to have the MM screen itself open to a larger set of IP addresses but would like to lock down the MMM-RemoteControl & MMM-AdminInterface sites and limit access to my own devices.
          Any idea how to achieve this?
          Thanks for your advice!

          1 Reply Last reply Reply Quote 0
          • C Offline
            cowboysdude Module Developer
            last edited by cowboysdude Jun 25, 2017, 1:37 PM Jun 25, 2017, 1:33 PM

            It helps to read a little…
            http://searchsecurity.techtarget.com/definition/application-whitelisting

            +| ipWhitelist | The list of IPs from which you are allowed to access the MagicMirror². The default value is ["127.0.0.1", "::ffff:127.0.0.1", "::1"]. It is possible to specify IPs with subnet masks (["127.0.0.1", "127.0.0.1/24"]) or define ip ranges (["127.0.0.1", ["192.168.0.1", "192.168.0.100"]]). Set [] to allow all IP addresses. For more information about how configure this directive see the follow post ipWhitelist HowTo |

            R R 2 Replies Last reply Jun 25, 2017, 6:21 PM Reply Quote 2
            • R Offline
              rudibarani Project Sponsor @cowboysdude
              last edited by Jun 25, 2017, 6:21 PM

              @cowboysdude Thanks for your reply. My white Lists work fine for the MM2 screen. I was looking for a way to separately limit access to the sites generated by the Remote Control and Admin interface module. Any ideas?

              C 1 Reply Last reply Jun 25, 2017, 6:24 PM Reply Quote 0
              • C Offline
                cowboysdude Module Developer @rudibarani
                last edited by Jun 25, 2017, 6:24 PM

                @rudibarani said in ipWhitelist HowTo:

                @cowboysdude Thanks for your reply. My white Lists work fine for the MM2 screen. I was looking for a way to separately limit access to the sites generated by the Remote Control and Admin interface module. Any ideas?

                Honestly the best thing to do is ask the creator of those modules ;) I don’t do the ipWhitelist.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  roblocksrocks @cowboysdude
                  last edited by Jun 26, 2017, 3:01 AM

                  @cowboysdude Maybe you’ll be able to help, I’ve tried doing [ ], I’ve tried whitelesting all IPs as shown in here, and the only thing I have been able to get to work is whitelisting specific IPV4 and IPV6 addresses. That was fine because my most used devices have static IPs anyway however the issue comes now that I have port forwarding and am trying to open it up to any IP (I am aware of the security ramifications)

                  C 1 Reply Last reply Jun 28, 2017, 9:42 PM Reply Quote 0
                  • O Offline
                    open_book @mochman
                    last edited by open_book Jun 29, 2017, 9:01 AM Jun 28, 2017, 9:28 PM

                    @mochman I’m experiencing a similar problem to the one @looolz describes above.

                    I can access through SSH (putty) no problem. I’ve seen the logs “Access denied to …” and added the two addresses (my laptop and mobile) to the ipWhitelist.

                    I’ve also added the “…1.1/120” and “…1.1/112” to the list but I still get access denied.

                    I did get both devices working for a while - but was then denied access through putty! I’d really like to be able to access through mobilebrowser for MMM-remotecontrol AND SSH for other work.

                    The reason for this comment is that I checked wlan0 and I have an inett6 addr listed.

                    You mention this above but don’t say what to consider next. If you’re still around and have any thoughts about this I’d appreciate it!

                    resulted in me being able to connect from mobile/laptop but meant that SSH stopped working.

                    sudo insert motivational.quote

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cowboysdude Module Developer @roblocksrocks
                      last edited by Jun 28, 2017, 9:42 PM

                      @roblocksrocks Lets see if @mochman answers because honestly I don’t use it and really have no working knowledge of it or how to use it.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 8
                      • 9
                      • 3 / 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