From bfacd5ed731693cb220b28b90a99588ba92ceab9 Mon Sep 17 00:00:00 2001 From: silversword411 Date: Mon, 20 Jun 2022 07:25:03 -0400 Subject: [PATCH] Adding more items to advanced json --- sample-config-advanced.json | 84 +++++++++++++++++++++++-------------- 1 file changed, 52 insertions(+), 32 deletions(-) diff --git a/sample-config-advanced.json b/sample-config-advanced.json index 5cab7390..622064f1 100644 --- a/sample-config-advanced.json +++ b/sample-config-advanced.json @@ -10,7 +10,7 @@ "_WANonly": true, "_LANonly": true, "_maintenanceMode": true, - "_certificatePrivateKeyPassword": [ "password1", "password2" ], + "_certificatePrivateKeyPassword": ["password1", "password2"], "_sessionTime": 60, "_sessionKey": "MyReallySecretPassword1", "_sessionSameSite": "strict", @@ -38,7 +38,6 @@ "_agentCoreDump": true, "_agentCoreDumpUsers": "user1,user2", "_agentSignLock": true, - "_agentTimeStampServer": "http://timestamp.digicert.com", "_ignoreAgentHashCheck": true, "_exactPorts": true, "_allowLoginToken": true, @@ -73,14 +72,15 @@ "_webPush": { "email": "xxxxx@xxxxx.com" }, "_publicPushNotifications": true, "_desktopMultiplex": true, + "_ipBlockedUserRedirect": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "_userAllowedIP": "127.0.0.1,192.168.1.0/24", "_userBlockedIP": "127.0.0.1,::1,192.168.0.100", "_agentAllowedIP": "192.168.0.100/24", "_agentBlockedIP": "127.0.0.1,::1", "_authLog": "c:\\temp\\auth.log", - "_InterUserMessaging": [ "user//admin" ], - "_manageAllDeviceGroups": [ "user//admin" ], - "_manageCrossDomain": [ "user//admin" ], + "_InterUserMessaging": ["user//admin"], + "_manageAllDeviceGroups": ["user//admin"], + "_manageCrossDomain": ["user//admin"], "_localDiscovery": { "name": "Local server name", "info": "Information about this server" @@ -92,6 +92,7 @@ "_mpsAliasPort": 4433, "_mpsAliasHost": "mps.mydomain.com", "_mpsTlsOffload": true, + "_mpsHighSecurity": true, "_no2FactorAuth": true, "_runOnServerStarted": "c:\\tmp\\mcstart.bat", "_runOnServerUpdated": "c:\\tmp\\mcupdate.bat", @@ -163,19 +164,21 @@ "title2": "Servername", "_titlePicture": "title-sample.png", "_loginPicture": "title-sample.png", + "_rootRedirect": "https://www.youtube.com/watch?v=Gs069dndIYk", + "_mobileSite": false, + "_unknownUserRootRedirect": "https://www.youtube.com/watch?v=2Q_ZzBGPdqE", + "_nightMode": 1, "_userQuota": 1048576, "_meshQuota": 248576, + "_loginKey": ["abc", "123"], + "_agentKey": ["abc", "123"], + "_ipkvm": false, "minify": true, - "_guestDeviceSharing" : false, - "_AutoRemoveInactiveDevices": 37, - "_DeviceSearchBarServerAndClientName": false, - "_loginKey": [ "abc", "123" ], - "_agentKey": [ "abc", "123" ], "_newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], "_userNameIsEmail": true, - "_newAccountEmailDomains": [ "sample.com" ], - "_newAccountsRights": [ "nonewgroups", "notools" ], + "_newAccountEmailDomains": ["sample.com"], + "_newAccountsRights": ["nonewgroups", "notools"], "_welcomeText": "Sample Text on Login Page.", "_welcomePicture": "mainwelcome.jpg", "_welcomePictureFullScreen": false, @@ -185,6 +188,13 @@ "_hide": 4, "_footer": "Twitter", "_loginfooter": "This is a private server.", + "_allowSavingDeviceCredentials": false, + "_guestDeviceSharing": false, + "_AutoRemoveInactiveDevices": 37, + "_DeviceSearchBarServerAndClientName": false, + "_agentSelfGuestSharing": { + "expire": 120 + }, "_certUrl": "https://192.168.2.106:443/", "_altMessenging": { "name": "Jitsi", @@ -200,7 +210,7 @@ "protocol": "http", "port": 80, "_ip": "192.168.1.100", - "_filter": [ "mesh/(domainid)/(meshid)", "node/(domainid)/(nodeid)" ] + "_filter": ["mesh/(domainid)/(meshid)", "node/(domainid)/(nodeid)"] }, { "name": "HTTPS", @@ -211,7 +221,7 @@ }, "PreconfiguredRemoteInput": [ { - "name": "CompagnyUrl", + "name": "CompanyUrl", "value": "https://help.mycompany.com/" }, { @@ -222,7 +232,7 @@ "name": "Welcome", "value": "Default welcome text" } - ], + ], "myServer": { "Backup": false, "Restore": false, @@ -325,14 +335,24 @@ "log": "amtactivation.log", "certs": { "mycertname": { - "certfiles": [ "amtacm-leafcert.crt", "amtacm-intermediate1.crt", "amtacm-intermediate2.crt", "amtacm-rootcert.crt" ], + "certfiles": [ + "amtacm-leafcert.crt", + "amtacm-intermediate1.crt", + "amtacm-intermediate2.crt", + "amtacm-rootcert.crt" + ], "keyfile": "amtacm-leafcert.key" } } }, "_amtManager": { "adminAccounts": [{ "user": "admin", "pass": "MyP@ssw0rd" }], - "environmentDetection": [ "domain1.com", "domain2.com", "domain3.com", "domain4.com" ], + "environmentDetection": [ + "domain1.com", + "domain2.com", + "domain3.com", + "domain4.com" + ], "wifiProfiles": [ { "name": "Profile1", @@ -355,8 +375,8 @@ "Strict-Transport-Security": "max-age=360000", "x-frame-options": "SAMEORIGIN" }, - "_agentConfig": [ "webSocketMaskOverride=1", "coreDumpEnabled=1" ], - "_assistantConfig": [ "disableUpdate=1" ], + "_agentConfig": ["webSocketMaskOverride=1", "coreDumpEnabled=1"], + "_assistantConfig": ["disableUpdate=1"], "_sessionRecording": { "_onlySelectedUsers": true, "_onlySelectedUserGroups": true, @@ -367,42 +387,42 @@ "_maxRecordingDays": 15, "_maxRecordingSizeMegabytes": 3, "__protocols__": "Is an array: 1 = Terminal, 2 = Desktop, 5 = Files, 100 = Intel AMT WSMAN, 101 = Intel AMT Redirection, 200 = Messenger", - "protocols": [ 1, 2, 101 ] + "protocols": [1, 2, 101] }, "_authStrategies": { "__comment__": "This section is used to allow users to login using other accounts. You will need to get an API key from the services and register callback URL's", "twitter": { "_callbackurl": "https://server/auth-twitter-callback", "newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], "clientid": "xxxxxxxxxxxxxxxxxxxxxxx", "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "google": { "_callbackurl": "https://server/auth-google-callback", "newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], "clientid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com", "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxx" }, "github": { "_callbackurl": "https://server/auth-github-callback", "newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], "clientid": "xxxxxxxxxxxxxxxxxxxxxxx", "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "reddit": { "_callbackurl": "https://server/auth-reddit-callback", "newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], "clientid": "xxxxxxxxxxxxxxxxxxxxxxx", "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "azure": { "_callbackurl": "https://server/auth-azure-callback", "newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], "clientid": "00000000-0000-0000-0000-000000000000", "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "tenantid": "00000000-0000-0000-0000-000000000000" @@ -410,7 +430,7 @@ "jumpcloud": { "_callbackurl": "https://server/auth-jumpcloud-callback", "newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], "entityid": "meshcentral", "idpurl": "https://sso.jumpcloud.com/saml2/saml2", "cert": "jumpcloud-saml.pem" @@ -419,8 +439,8 @@ "_callbackurl": "https://server/auth-saml-callback", "_disableRequestedAuthnContext": true, "newAccounts": true, - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], - "_newAccountsRights": [ "nonewgroups", "notools" ], + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"], + "_newAccountsRights": ["nonewgroups", "notools"], "entityid": "meshcentral", "idpurl": "https://server/saml2", "cert": "saml.pem" @@ -456,7 +476,7 @@ "uid": "anneonyme", "mail": "anneonyme@example.com", "email": "anneonyme@example.com", - "otherMail": [ "other.anneonyme@example.com", "anneonyme@example.com" ] + "otherMail": ["other.anneonyme@example.com", "anneonyme@example.com"] }, "so": { "displayName": "Sticker Sophie", @@ -464,7 +484,7 @@ "uid": "ssticker", "mail": "ssticker@example.com", "email": "ssticker@example.com", - "otherMail": [ "other.ssticker@example.com", "ssticker@example.com" ] + "otherMail": ["other.ssticker@example.com", "ssticker@example.com"] } }, "__LDAPOptions": { @@ -513,7 +533,7 @@ "_sendmail": { "newline": "unix", "path": "/usr/sbin/sendmail", - "_args": [ "-f", "foo@example.com" ] + "_args": ["-f", "foo@example.com"] }, "_sms": { "provider": "twilio",