Beschreibung:

With this add-in you can configure a walled-garden, where domains can be reached before being authenticated at the cloud managed hotspot.

Add-in Code:

/**
 * @param {Config} config
 * @param {Context} context
 * Do not edit this comment or parameter types. Required for code suggestions
*/
exports.main = function (config, context) {



    var setWalledGarden = function (SSID, Hostname, Unreachable) {
        var table = config.getTableByOid("13.2.20.12.2");
        var row;
        row = table.createNewRow();
        row.setByOid("1", SSID)  // SSID in full Uppercase and _
        row.setByOid("2", Hostname)  // Hostname (e.g. *.cloud.lancom.de)
        row.setByOid("3", Unreachable)  // Reachable only if LMC is not reachable by AP? Yes/No
        table.addOrMerge(row);
    }

    /*
    add function calls for every hostname you want to add
    make sure to replace - with _ and write the SSID name in all caps.
    setWalledGarden("SSID_TO_CAPS", "*.cloud.lancom.de", "Yes (1) /No (0)")
    */
    setWalledGarden("1_INTRANET_INTRANET", "*.lancom.de*", "0")

};

Add-in als JSON-Datei:

walled-garden.json