MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Ip whitelist

  • Re: ipWhitelist HowTo

    Hi all,
    I apologize if I make silly questions but I’m completely new in this fantastic world.
    I installed my magic mirror and I’m tried to customize it following my tastes. I installed the MMremote module but I cannot set the right ip in the whitelist. I tried several times to access, through a tablet and a laptop, but every time I get the refused access error.
    My Pi ip address is
    my laptop ipv4 is
    my tablet ip is
    I tired to edit this ips to the whitelist but nothing happens.
    Can someone help me?
    Since I made some mistake I resumed the default configuration.

    /* Magic Mirror Config Sample
     * By Michael Teeuw
     * MIT Licensed.
     * For more information how you can configurate this file
     * See
    var config = {
    	address: "", // Address to listen on, can be:
    	                      // - "localhost", "", "::1" to listen on loopback interface
    	                      // - another specific IPv4/6 to listen on a specific interface
    	                      // - "", "", "::" to listen on any interface
    	                      // Default, when address config is left out, is "localhost"
    	port: 8080,
    	ipWhitelist: ["", "::ffff:", "::1"], // Set [] to allow all IP addresses
    	                                                       // or add a specific IPv4 of :
    	                                                       // ["", "::ffff:", "::1", "::ffff:"],
    	                                                       // or IPv4 range of --> use CIDR format :
    	                                                       // ["", "::ffff:", "::1", "::ffff:"],
    	language: "it",
    	timeFormat: 24,
    	units: "metric",
    	modules: [
                            module: "alert",
                            module: 'MMM-Remote-Control',
                            // uncomment the following line to show the URL of the remote control on the mirror,
                            position: 'bottom_right',
                            // you can hide this module afterwards from the remote control itself
    			module: "calendar",
    			header: "MyTab",
    			position: "bottom_left",
    			config: {
    				calendars: [
    						symbol: "angellist",
    						url: ""
                            module: 'persistent_config_interface'
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}

  • Project Sponsor Module Developer

    @hriereb said in Ip whitelist:

    ipWhitelist: [“”, “::ffff:”, “::1”],

    I just whitelist all of the devices on my network by changing to this at the beginning of my config.

    ipWhitelist: [],

  • Thank you so much, your advise was really precious.

  • Project Sponsor Module Developer


    You’re welcome, mate. 🙂

Log in to reply