2020-05-19 03:57:11 +03:00
{
2022-12-12 12:51:28 +03:00
"$schema" : "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json" ,
2020-06-15 16:37:53 +03:00
"__comment__" : "This is a sample configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details." ,
2020-05-19 03:57:11 +03:00
"settings" : {
2020-06-15 23:08:46 +03:00
"_cert" : "myserver.mydomain.com" ,
2022-08-16 02:28:06 +03:00
"_SQLite3" : true ,
2022-08-14 04:32:17 +03:00
"_acebase" : { "_sponsor" : true } ,
2020-06-15 23:08:46 +03:00
"_mongoDb" : "mongodb://127.0.0.1:27017" ,
"_mongoDbName" : "meshcentral" ,
"_mongoDbChangeStream" : true ,
2022-06-09 23:35:58 +03:00
"_mongoDbBulkOperations" : true ,
2020-05-19 03:57:11 +03:00
"_WANonly" : true ,
"_LANonly" : true ,
2022-06-09 23:35:58 +03:00
"_maintenanceMode" : true ,
2022-07-16 00:23:01 +03:00
"_certificatePrivateKeyPassword" : [ "password1" , "password2" ] ,
2022-06-09 23:35:58 +03:00
"_sessionTime" : 60 ,
2020-06-15 23:08:46 +03:00
"_sessionKey" : "MyReallySecretPassword1" ,
"_sessionSameSite" : "strict" ,
"_dbEncryptKey" : "MyReallySecretPassword2" ,
"_dbRecordsEncryptKey" : "MyReallySecretPassword" ,
"_dbRecordsDecryptKey" : "MyReallySecretPassword" ,
"__dbExpire" : "Amount of time to keep various events in the database, in seconds. Below are the default values." ,
"_dbExpire" : {
2020-05-19 03:57:11 +03:00
"events" : 1728000 ,
"powerevents" : 864000 ,
"statsevents" : 2592000
} ,
2020-06-15 23:08:46 +03:00
"port" : 443 ,
"_portBind" : "127.0.0.1" ,
2020-06-27 00:43:58 +03:00
"_aliasPort" : 444 ,
2020-06-15 23:08:46 +03:00
"_redirPort" : 80 ,
"_redirPortBind" : "127.0.0.1" ,
"_redirAliasPort" : 80 ,
2022-07-03 10:44:58 +03:00
"_relayPort" : 453 ,
2022-07-05 06:20:25 +03:00
"_relayAliasPort" : 463 ,
2022-07-03 10:44:58 +03:00
"_relayDNS" : "relay.myserver.mydomain.com" ,
2020-06-15 23:08:46 +03:00
"_agentPort" : 1234 ,
"_agentPortBind" : "127.0.0.1" ,
"_agentAliasPort" : 1234 ,
"_agentAliasDNS" : "agents.myserver.mydomain.com" ,
2022-06-09 23:35:58 +03:00
"_agentPortTls" : false ,
"_agentLogDump" : true ,
"_agentCoreDump" : true ,
"_agentCoreDumpUsers" : "user1,user2" ,
"_agentSignLock" : true ,
2022-06-20 14:46:19 +03:00
"_agentTimeStampServer" : "http://timestamp.digicert.com" ,
2022-06-24 01:39:40 +03:00
"_agentTimeStampProxy" : "http://1.2.3.4:80" ,
2022-06-09 23:35:58 +03:00
"_ignoreAgentHashCheck" : true ,
2020-06-15 23:08:46 +03:00
"_exactPorts" : true ,
"_allowLoginToken" : true ,
2022-06-09 23:35:58 +03:00
"_StrictTransportSecurity" : true ,
2020-06-15 23:08:46 +03:00
"_allowFraming" : true ,
"_cookieIpCheck" : false ,
"_cookieEncoding" : "hex" ,
"_webRTC" : false ,
"_nice404" : false ,
"_selfUpdate" : true ,
2022-06-09 23:35:58 +03:00
"_cleanNpmCacheOnUpdate" : true ,
2020-06-15 23:08:46 +03:00
"_browserPing" : 60 ,
"_browserPong" : 60 ,
2022-06-09 23:35:58 +03:00
"_agentsInRam" : false ,
2020-06-15 23:08:46 +03:00
"_agentPing" : 60 ,
"_agentPong" : 60 ,
2022-06-09 23:35:58 +03:00
"_orphanAgentUser" : "admin" ,
2020-06-15 23:08:46 +03:00
"_agentIdleTimeout" : 150 ,
2022-06-09 23:35:58 +03:00
"_webPageLengthRandomization" : false ,
"_compression" : true ,
"_wsCompression" : false ,
"_agentWsCompression" : true ,
"_noAgentUpdate" : 1 ,
"_agentUpdateSystem" : 1 ,
"_temporaryAgentUpdate" : false ,
"_amtScanner" : false ,
"_meshScanner" : false ,
2020-06-15 23:08:46 +03:00
"_meshErrorLogPath" : "c:\\tmp" ,
"_npmPath" : "c:\\npm.exe" ,
"_npmProxy" : "http://1.2.3.4:80" ,
"_allowHighQualityDesktop" : true ,
2021-02-10 12:31:52 +03:00
"_webPush" : { "email" : "xxxxx@xxxxx.com" } ,
2021-02-07 23:04:51 +03:00
"_publicPushNotifications" : true ,
2020-06-15 23:08:46 +03:00
"_desktopMultiplex" : true ,
2022-06-20 14:25:03 +03:00
"_ipBlockedUserRedirect" : "https://www.youtube.com/watch?v=dQw4w9WgXcQ" ,
2020-06-15 23:08:46 +03:00
"_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" ,
2022-07-16 00:23:01 +03:00
"_InterUserMessaging" : [ "user//admin" ] ,
"_manageAllDeviceGroups" : [ "user//admin" ] ,
"_manageCrossDomain" : [ "user//admin" ] ,
2020-06-15 23:08:46 +03:00
"_localDiscovery" : {
2020-05-19 03:57:11 +03:00
"name" : "Local server name" ,
"info" : "Information about this server"
} ,
2020-06-18 13:50:41 +03:00
"_tlsOffload" : "127.0.0.1,::1" ,
"_trustedProxy" : "127.0.0.1,::1" ,
2020-06-15 23:08:46 +03:00
"_mpsPort" : 44330 ,
"_mpsPortBind" : "127.0.0.1" ,
"_mpsAliasPort" : 4433 ,
"_mpsAliasHost" : "mps.mydomain.com" ,
"_mpsTlsOffload" : true ,
2022-06-20 14:25:03 +03:00
"_mpsHighSecurity" : true ,
2020-06-15 23:08:46 +03:00
"_no2FactorAuth" : true ,
2023-11-15 17:30:53 +03:00
"_lockAgentDownload" : true ,
2022-03-17 21:19:18 +03:00
"_runOnServerStarted" : "c:\\tmp\\mcstart.bat" ,
"_runOnServerUpdated" : "c:\\tmp\\mcupdate.bat" ,
"_runOnServerError" : "c:\\tmp\\mcerror.bat" ,
2020-06-15 23:08:46 +03:00
"_log" : "main,web,webrequest,cert" ,
2020-05-19 03:57:11 +03:00
"_syslog" : "meshcentral" ,
"_syslogauth" : "meshcentral-auth" ,
"_syslogjson" : "meshcentral-json" ,
2021-05-19 09:54:36 +03:00
"_syslogtcp" : "localhost:514" ,
2020-06-15 23:08:46 +03:00
"_webrtcConfig" : {
2020-05-19 03:57:11 +03:00
"iceServers" : [
{ "urls" : "stun:stun.services.mozilla.com" } ,
{ "urls" : "stun:stun.l.google.com:19302" }
]
} ,
2020-06-15 23:08:46 +03:00
"_autoBackup" : {
2021-02-04 09:11:07 +03:00
"_mongoDumpPath" : "C:\\Program Files\\MongoDB\\Server\\4.2\\bin\\mongodump.exe" ,
2020-05-19 03:57:11 +03:00
"backupIntervalHours" : 24 ,
"keepLastDaysBackup" : 10 ,
"zipPassword" : "MyReallySecretPassword3" ,
2020-08-21 21:47:34 +03:00
"_backupPath" : "C:\\backups" ,
"_googleDrive" : {
"folderName" : "MeshCentral-Backups" ,
"maxFiles" : 10
2020-09-10 22:43:48 +03:00
} ,
"webdav" : {
"url" : "https://server/remote.php/dav/files/xxxxx@server.com/" ,
"username" : "user" ,
"password" : "pass" ,
"folderName" : "MeshCentral-Backups" ,
"maxFiles" : 10
2020-08-21 21:47:34 +03:00
}
2020-05-19 03:57:11 +03:00
} ,
2020-06-15 23:08:46 +03:00
"_redirects" : {
2020-05-19 03:57:11 +03:00
"meshcommander" : "https://www.meshcommander.com/"
} ,
2020-06-15 23:08:46 +03:00
"__maxInvalidLogin" : "Time in minutes, max amount of bad logins from a source IP in the time before logins are rejected." ,
"_maxInvalidLogin" : {
2020-06-15 16:37:53 +03:00
"time" : 10 ,
"count" : 10 ,
"coolofftime" : 10
} ,
2022-01-04 00:12:10 +03:00
"__maxInvalid2fa" : "Time in minutes, max amount of bad two-factor authentication from a source IP in the time before 2FA's are rejected." ,
"_maxInvalid2fa" : {
"time" : 10 ,
"count" : 10 ,
"coolofftime" : 10
} ,
2022-07-16 00:23:01 +03:00
"watchDog" : {
"interval" : 100 ,
"timeout" : 400
} ,
2021-03-17 03:26:26 +03:00
"_AmtProvisioningServer" : {
"port" : 9971 ,
"deviceGroup" : "mesh//xxxxxxxxxxxxxxxxxxxxx" ,
"newMebxPassword" : "amtpassword" ,
"trustedFqdn" : "sample.com" ,
"ip" : "192.168.1.1"
} ,
2022-07-07 06:34:04 +03:00
"_crowdsec" : {
"url" : "http://localhost:8080" ,
"apiKey" : "BOUNCER_API_KEY"
} ,
2020-06-15 23:08:46 +03:00
"_plugins" : { "enabled" : true }
2020-05-19 03:57:11 +03:00
} ,
"_domaindefaults" : {
"__comment__" : "Any settings in this section is used as default setting for all domains" ,
2020-06-15 23:08:46 +03:00
"title" : "MyDefaultTitle" ,
"footer" : "Default page footer" ,
"newAccounts" : false
2020-05-19 03:57:11 +03:00
} ,
2022-04-08 07:15:53 +03:00
"domains" : {
2020-05-19 03:57:11 +03:00
"" : {
2020-09-01 21:51:06 +03:00
"_siteStyle" : 2 ,
2020-06-15 23:08:46 +03:00
"title" : "MyServer" ,
"title2" : "Servername" ,
"_titlePicture" : "title-sample.png" ,
2020-09-03 12:19:17 +03:00
"_loginPicture" : "title-sample.png" ,
2022-06-20 14:25:03 +03:00
"_rootRedirect" : "https://www.youtube.com/watch?v=Gs069dndIYk" ,
"_mobileSite" : false ,
2022-08-31 21:54:21 +03:00
"_maxDeviceView" : 1000 ,
2022-06-20 14:25:03 +03:00
"_unknownUserRootRedirect" : "https://www.youtube.com/watch?v=2Q_ZzBGPdqE" ,
"_nightMode" : 1 ,
2023-10-09 07:33:23 +03:00
"_scrollToTop" : true ,
2020-06-15 23:08:46 +03:00
"_userQuota" : 1048576 ,
"_meshQuota" : 248576 ,
2022-07-16 00:23:01 +03:00
"_loginKey" : [ "abc" , "123" ] ,
"_agentKey" : [ "abc" , "123" ] ,
2022-06-20 14:25:03 +03:00
"_ipkvm" : false ,
2020-06-15 23:08:46 +03:00
"minify" : true ,
2023-10-06 15:31:25 +03:00
"_hidePowerTimeline" : true ,
2023-11-12 21:13:21 +03:00
"_showNotesPanel" : true ,
2024-06-14 11:56:02 +03:00
"_userSessionsSort" : "Username" ,
2020-06-15 23:08:46 +03:00
"_newAccounts" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountsUserGroups" : [ "ugrp//xxxxxxxxxxxxxxxxx" ] ,
2020-06-15 23:08:46 +03:00
"_userNameIsEmail" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountEmailDomains" : [ "sample.com" ] ,
"_newAccountsRights" : [ "nonewgroups" , "notools" ] ,
2020-06-15 23:08:46 +03:00
"_welcomeText" : "Sample Text on Login Page." ,
"_welcomePicture" : "mainwelcome.jpg" ,
2021-05-10 22:53:49 +03:00
"_welcomePictureFullScreen" : false ,
2021-01-25 11:04:43 +03:00
"_meshMessengerTitle" : "MeshMessenger" ,
"_meshMessengerPicture" : "messenger.png" ,
2021-07-27 11:09:59 +03:00
"___hide__" : "Sum of: 1 = Hide header, 2 = Hide tab, 4 = Hide footer, 8 = Hide title, 16 = Hide left bar, 32 = Hide back buttons" ,
2020-06-15 23:08:46 +03:00
"_hide" : 4 ,
"_footer" : "<a href='https://twitter.com/mytwitter'>Twitter</a>" ,
2020-12-22 10:32:50 +03:00
"_loginfooter" : "This is a private server." ,
2022-06-20 14:25:03 +03:00
"_allowSavingDeviceCredentials" : false ,
"_guestDeviceSharing" : false ,
"_AutoRemoveInactiveDevices" : 37 ,
"_DeviceSearchBarServerAndClientName" : false ,
"_agentSelfGuestSharing" : {
2022-07-16 00:23:01 +03:00
"expire" : 120
2021-02-05 05:37:38 +03:00
} ,
2022-07-16 00:23:01 +03:00
"_certUrl" : "https://192.168.2.106:443/" ,
"_altMessenging" : [
{
"name" : "Jitsi" ,
"url" : "https://meet.jit.si/myserver-{0}" ,
"localurl" : "https://meet.jit.si/myserver-local-{0}" ,
"type" : "device"
} ,
{
"name" : "Jitsi" ,
"url" : "https://meet.jit.si/myserver-{0}-{1}-{2}-{3}" ,
"localurl" : "https://meet.jit.si/myserver-local-{0}-{1}-{2}-{3}" ,
"type" : "user"
}
] ,
2021-02-25 04:48:03 +03:00
"_deviceMeshRouterLinks" : {
"rdp" : true ,
"ssh" : true ,
"scp" : true ,
"extralinks" : [
{
"name" : "HTTP" ,
"protocol" : "http" ,
2021-02-25 23:31:03 +03:00
"port" : 80 ,
2021-03-05 04:03:25 +03:00
"_ip" : "192.168.1.100" ,
2022-07-16 00:23:01 +03:00
"_filter" : [ "mesh/(domainid)/(meshid)" , "node/(domainid)/(nodeid)" ]
2021-02-25 04:48:03 +03:00
} ,
{
"name" : "HTTPS" ,
"protocol" : "https" ,
"port" : 443
}
]
} ,
2024-01-08 09:21:54 +03:00
"_assistantTypeAgentInvite" : 2 ,
2022-08-20 06:15:06 +03:00
"PreconfiguredScripts" : [
{
"name" : "Run NotePad as user" ,
"file" : "scripts/notepad.bat" ,
"type" : "bat" ,
"runas" : "user"
} ,
{
"name" : "Run NotePad as agent" ,
"cmd" : "notepad.exe" ,
"type" : "bat" ,
"runas" : "agent"
} ,
{
"name" : "Run echo" ,
"cmd" : "echo \"hello world\"" ,
"type" : "sh" ,
"runas" : "agent"
} ,
{
"name" : "Agent Update" ,
"cmd" : "agentupdate" ,
"type" : "agent"
}
] ,
2021-11-08 22:45:45 +03:00
"PreconfiguredRemoteInput" : [
{
2022-06-20 14:25:03 +03:00
"name" : "CompanyUrl" ,
2021-11-08 22:45:45 +03:00
"value" : "https://help.mycompany.com/"
} ,
{
"name" : "Any Text" ,
"value" : "Any text\r"
} ,
{
"name" : "Welcome" ,
"value" : "Default welcome text"
}
2022-06-20 14:25:03 +03:00
] ,
2020-09-28 23:28:08 +03:00
"myServer" : {
"Backup" : false ,
"Restore" : false ,
"Upgrade" : false ,
"ErrorLog" : false ,
"Console" : false ,
2023-10-04 06:35:02 +03:00
"Trace" : false ,
"Config" : false
2020-09-28 23:28:08 +03:00
} ,
2020-06-15 23:08:46 +03:00
"_passwordRequirements" : {
2020-06-15 16:37:53 +03:00
"min" : 8 ,
"max" : 128 ,
"upper" : 1 ,
"lower" : 1 ,
"numeric" : 1 ,
"nonalpha" : 1 ,
"reset" : 90 ,
"force2factor" : true ,
2020-08-16 23:44:54 +03:00
"skip2factor" : "127.0.0.1,192.168.2.0/24" ,
"oldPasswordBan" : 5 ,
2021-07-25 01:14:21 +03:00
"banCommonPasswords" : false ,
"twoFactorTimeout" : 300
2020-06-15 16:37:53 +03:00
} ,
2020-10-01 02:59:34 +03:00
"_twoFactorCookieDurationDays" : 30 ,
2020-06-15 23:08:46 +03:00
"_agentInviteCodes" : true ,
"_agentNoProxy" : true ,
2023-11-15 17:30:53 +03:00
"_lockAgentDownload" : true ,
2020-06-15 23:08:46 +03:00
"_geoLocation" : true ,
2024-05-21 22:01:45 +03:00
"_ipLocation" : true ,
2020-06-09 22:03:30 +03:00
"_novnc" : false ,
2024-05-24 19:27:22 +03:00
"_mstsc" : false ,
2021-04-30 08:51:22 +03:00
"_ssh" : true ,
2020-07-10 20:33:41 +03:00
"_WebEmailsPath" : "/myserver/email-templates" ,
2020-06-13 15:41:53 +03:00
"_consentMessages" : {
2020-06-15 23:08:46 +03:00
"title" : "MeshCentral" ,
"desktop" : "{0} requesting remote desktop access. Grant access?" ,
"terminal" : "{0} requesting remote terminal access. Grant access?" ,
2022-02-22 23:32:49 +03:00
"files" : "{0} requesting remote files access. Grant access?" ,
"consentTimeout" : 30 ,
"autoAcceptOnTimeout" : false
2020-06-13 15:41:53 +03:00
} ,
2020-06-13 21:36:50 +03:00
"_notificationMessages" : {
2020-06-15 23:08:46 +03:00
"title" : "MeshCentral" ,
"desktop" : "{0} started a remote desktop session." ,
"terminal" : "{0} started a remote terminal session." ,
"files" : "{0} started a remote files session."
2020-06-13 21:36:50 +03:00
} ,
2021-06-27 21:21:13 +03:00
"_agentCustomization" : {
2022-04-08 19:00:10 +03:00
"displayName" : "Company® Product™" ,
"description" : "Company® Product™ agent for remote monitoring, management and assistance." ,
"companyName" : "Company®" ,
"serviceName" : "companyagent" ,
2022-01-19 00:34:10 +03:00
"image" : "agent-logo.png" ,
2020-12-20 04:21:42 +03:00
"fileName" : "compagnyagent"
2020-11-12 03:28:56 +03:00
} ,
2022-06-20 22:03:23 +03:00
"_agentFileInfo" : {
2022-08-10 23:12:59 +03:00
"icon" : "agent.ico" ,
2022-08-04 11:47:36 +03:00
"filedescription" : "sample_filedescription" ,
"fileversion" : "0.1.2.3" ,
"internalname" : "sample_internalname" ,
"legalcopyright" : "sample_legalcopyright" ,
"originalfilename" : "sample_originalfilename" ,
"productname" : "sample_productname" ,
"productversion" : "v0.1.2.3"
2022-06-20 22:03:23 +03:00
} ,
2021-06-27 21:21:13 +03:00
"_assistantCustomization" : {
2022-04-08 19:00:10 +03:00
"title" : "Company® Product™" ,
2021-06-27 21:21:13 +03:00
"image" : "assistant-logo.png" ,
"fileName" : "compagny"
} ,
"_androidCustomization" : {
2022-04-08 19:00:10 +03:00
"title" : "Company® Product™" ,
"subtitle" : "Product Subtitle™" ,
2021-06-27 21:21:13 +03:00
"image" : "assistant-logo.png"
} ,
2020-06-15 23:08:46 +03:00
"_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" ,
"___userSessionIdleTimeout__" : "Number of user idle minutes before auto-disconnect" ,
"_userSessionIdleTimeout" : 30 ,
2020-11-27 20:23:03 +03:00
"userConsentFlags" : {
"desktopnotify" : true ,
"terminalnotify" : true ,
"filenotify" : true ,
"desktopprompt" : true ,
"terminalprompt" : true ,
"fileprompt" : true ,
"desktopprivacybar" : true
} ,
2020-06-15 23:08:46 +03:00
"_urlSwitching" : false ,
2021-02-22 10:23:15 +03:00
"_desktopPrivacyBarText" : "Privacy bar: {0}, {1}" ,
2020-06-15 23:08:46 +03:00
"_limits" : {
"_maxDevices" : 100 ,
"_maxUserAccounts" : 100 ,
"_maxUserSessions" : 100 ,
"_maxAgentSessions" : 100 ,
"maxSingleUserSessions" : 10
2020-05-19 03:57:11 +03:00
} ,
2021-08-20 00:10:03 +03:00
"_terminal" : {
"_linuxshell" : "login" ,
"launchCommand" : {
"linux" : "clear\necho \"Hello Linux\"\n" ,
"darwin" : "clear\necho \"Hello MacOS\"\n" ,
"freebsd" : "clear\necho \"Hello FreeBSD\"\n"
}
} ,
2020-06-19 20:37:55 +03:00
"_amtScanOptions" : [
2020-06-21 02:27:31 +03:00
"LabNetwork 192.168.15.0/23" ,
"SalesNetwork 192.168.8.0/24"
2020-06-19 20:37:55 +03:00
] ,
2020-06-15 23:08:46 +03:00
"_amtAcmActivation" : {
2020-05-19 03:57:11 +03:00
"log" : "amtactivation.log" ,
2022-08-16 07:49:01 +03:00
"strictCommonName" : false ,
2020-05-19 03:57:11 +03:00
"certs" : {
"mycertname" : {
2022-06-20 14:25:03 +03:00
"certfiles" : [
"amtacm-leafcert.crt" ,
"amtacm-intermediate1.crt" ,
"amtacm-intermediate2.crt" ,
"amtacm-rootcert.crt"
] ,
2020-05-19 03:57:11 +03:00
"keyfile" : "amtacm-leafcert.key"
}
}
} ,
2020-10-23 05:56:32 +03:00
"_amtManager" : {
2022-07-16 00:23:01 +03:00
"adminAccounts" : [
{
"user" : "admin" ,
"pass" : "MyP@ssw0rd"
}
] ,
2022-06-20 14:25:03 +03:00
"environmentDetection" : [
"domain1.com" ,
"domain2.com" ,
"domain3.com" ,
"domain4.com"
] ,
2020-10-23 05:56:32 +03:00
"wifiProfiles" : [
{
"name" : "Profile1" ,
"ssid" : "MyStation1" ,
"authentication" : "wpa2-psk" ,
"encryption" : "ccmp-aes" ,
"password" : "MyP@ssw0rd"
}
]
} ,
2020-06-15 23:08:46 +03:00
"_redirects" : {
2020-05-19 03:57:11 +03:00
"meshcommander" : "https://www.meshcommander.com/"
} ,
2020-06-15 16:37:53 +03:00
"_yubikey" : {
"id" : "0000" ,
"secret" : "xxxxxxxxxxxxxxxxxxxxx" ,
"_proxy" : "http://myproxy.domain.com:80"
} ,
2020-06-15 23:08:46 +03:00
"_httpHeaders" : {
2020-05-19 03:57:11 +03:00
"Strict-Transport-Security" : "max-age=360000" ,
2021-01-16 04:05:29 +03:00
"x-frame-options" : "SAMEORIGIN"
2020-05-19 03:57:11 +03:00
} ,
2023-10-03 05:05:37 +03:00
"_agentConfig" : [ "coreDumpEnabled=1" ] ,
2022-07-16 00:23:01 +03:00
"_assistantConfig" : [ "disableUpdate=1" ] ,
2020-06-15 23:08:46 +03:00
"_sessionRecording" : {
2021-08-26 22:42:09 +03:00
"_onlySelectedUsers" : true ,
2021-09-14 02:19:30 +03:00
"_onlySelectedUserGroups" : true ,
2020-09-30 01:02:33 +03:00
"_onlySelectedDeviceGroups" : true ,
2020-05-19 03:57:11 +03:00
"_filepath" : "C:\\temp" ,
"_index" : true ,
"_maxRecordings" : 10 ,
2022-03-02 21:04:16 +03:00
"_maxRecordingDays" : 15 ,
2020-05-19 03:57:11 +03:00
"_maxRecordingSizeMegabytes" : 3 ,
2021-04-12 03:36:22 +03:00
"__protocols__" : "Is an array: 1 = Terminal, 2 = Desktop, 5 = Files, 100 = Intel AMT WSMAN, 101 = Intel AMT Redirection, 200 = Messenger" ,
2022-07-16 00:23:01 +03:00
"protocols" : [ 1 , 2 , 101 ]
2020-05-19 03:57:11 +03:00
} ,
"_authStrategies" : {
2020-06-15 16:37:53 +03:00
"__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" ,
2020-05-19 03:57:11 +03:00
"twitter" : {
2020-05-27 11:17:03 +03:00
"_callbackurl" : "https://server/auth-twitter-callback" ,
2020-05-24 10:04:49 +03:00
"newAccounts" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountsUserGroups" : [ "ugrp//xxxxxxxxxxxxxxxxx" ] ,
2020-05-19 03:57:11 +03:00
"clientid" : "xxxxxxxxxxxxxxxxxxxxxxx" ,
"clientsecret" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
} ,
"google" : {
2020-05-27 11:17:03 +03:00
"_callbackurl" : "https://server/auth-google-callback" ,
2020-05-24 10:04:49 +03:00
"newAccounts" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountsUserGroups" : [ "ugrp//xxxxxxxxxxxxxxxxx" ] ,
2020-05-19 03:57:11 +03:00
"clientid" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com" ,
"clientsecret" : "xxxxxxxxxxxxxxxxxxxxxxx"
} ,
"github" : {
2020-05-27 11:17:03 +03:00
"_callbackurl" : "https://server/auth-github-callback" ,
2020-05-24 10:04:49 +03:00
"newAccounts" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountsUserGroups" : [ "ugrp//xxxxxxxxxxxxxxxxx" ] ,
2020-05-19 03:57:11 +03:00
"clientid" : "xxxxxxxxxxxxxxxxxxxxxxx" ,
"clientsecret" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
2020-05-20 10:39:17 +03:00
} ,
2020-05-24 10:04:49 +03:00
"azure" : {
2020-05-27 11:17:03 +03:00
"_callbackurl" : "https://server/auth-azure-callback" ,
2020-05-24 10:04:49 +03:00
"newAccounts" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountsUserGroups" : [ "ugrp//xxxxxxxxxxxxxxxxx" ] ,
2020-05-24 10:04:49 +03:00
"clientid" : "00000000-0000-0000-0000-000000000000" ,
"clientsecret" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ,
"tenantid" : "00000000-0000-0000-0000-000000000000"
} ,
2020-05-20 10:39:17 +03:00
"jumpcloud" : {
2020-05-27 11:17:03 +03:00
"_callbackurl" : "https://server/auth-jumpcloud-callback" ,
2020-05-24 10:04:49 +03:00
"newAccounts" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountsUserGroups" : [ "ugrp//xxxxxxxxxxxxxxxxx" ] ,
2020-05-20 10:39:17 +03:00
"entityid" : "meshcentral" ,
"idpurl" : "https://sso.jumpcloud.com/saml2/saml2" ,
"cert" : "jumpcloud-saml.pem"
} ,
"saml" : {
2020-05-27 11:17:03 +03:00
"_callbackurl" : "https://server/auth-saml-callback" ,
2020-05-29 03:03:40 +03:00
"_disableRequestedAuthnContext" : true ,
2020-05-24 10:04:49 +03:00
"newAccounts" : true ,
2022-07-16 00:23:01 +03:00
"_newAccountsUserGroups" : [ "ugrp//xxxxxxxxxxxxxxxxx" ] ,
"_newAccountsRights" : [ "nonewgroups" , "notools" ] ,
2020-05-20 10:39:17 +03:00
"entityid" : "meshcentral" ,
"idpurl" : "https://server/saml2" ,
"cert" : "saml.pem"
2022-04-06 19:41:56 +03:00
} ,
"oidc" : {
2024-03-04 03:03:27 +03:00
"issuer" : {
"issuer" : "https://sso.server.com" ,
"end_session_endpoint" : "https://sso.server.com/logout"
} ,
"client" : {
"client_id" : "00000000-0000-0000-0000-000000000000" ,
"client_secret" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
} ,
2022-09-06 10:30:07 +03:00
"groups" : {
"required" : [ "groupA" , "groupB" , "groupC" ] ,
"siteadmin" : [ "groupA" ] ,
"sync" : {
"enable" : true ,
"filter" : [ "groupB" , "groupC" ]
}
2024-03-04 03:03:27 +03:00
} ,
"newAccounts" : true
2020-05-19 03:57:11 +03:00
}
}
} ,
"_customer1" : {
2020-06-15 23:08:46 +03:00
"_dns" : "customer1.myserver.com" ,
"_title" : "Customer1" ,
"_title2" : "TestServer" ,
"_newAccounts" : 1 ,
"_auth" : "sspi" ,
"__auth" : "ldap" ,
2020-05-19 03:57:11 +03:00
"_LDAPUserName" : "gecos" ,
"_LDAPUserKey" : "uid" ,
"_LDAPUserEmail" : "otherMail" ,
2022-08-22 00:05:51 +03:00
"_LDAPUserGroups" : "memberOf" ,
2022-09-06 10:30:07 +03:00
"_LDAPSiteAdminGroups" : [ "CN=Domain Admins,CN=Users,DC=sample,DC=com" ] ,
2022-08-22 00:05:51 +03:00
"_LDAPUserRequiredGroupMembership" : [ "CN=Domain Admins,CN=Users,DC=sample,DC=com" ] ,
2022-08-22 21:57:11 +03:00
"_LDAPSyncWithUserGroups" : { "filter" : [ "CN=Domain Admins" ] } ,
"_LDAPOptions" : {
2020-05-19 03:57:11 +03:00
"URL" : "ldap://1.2.3.4:389" ,
"BindDN" : "CN=svc_meshcentral,CN=Users,DC=meshcentral,DC=local" ,
"BindCredentials" : "Password.1" ,
"SearchBase" : "DC=meshcentral,DC=local" ,
"SearchFilter" : "(sAMAccountName={{username}})"
} ,
2020-06-15 23:08:46 +03:00
"_footer" : "Test" ,
"_certUrl" : "https://192.168.2.106:443/"
2020-05-19 03:57:11 +03:00
} ,
"_info" : {
"_share" : "C:\\ExtraWebSite"
}
} ,
"_letsencrypt" : {
"__comment__" : "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt." ,
"email" : "myemail@myserver.com" ,
"names" : "myserver.com,customer1.myserver.com" ,
2021-11-25 08:39:02 +03:00
"skipChallengeVerification" : false ,
2024-05-12 17:45:24 +03:00
"production" : false ,
"zerossl" : {
"kid" : "a1b2c3d4e5" ,
"hmacKey" : "a1b2c3d4e5"
}
2020-05-19 03:57:11 +03:00
} ,
"_peers" : {
"serverId" : "server1" ,
"servers" : {
"server1" : { "url" : "wss://192.168.2.133:443/" } ,
"server2" : { "url" : "wss://192.168.1.106:443/" }
}
} ,
"_smtp" : {
"host" : "smtp.myserver.com" ,
"port" : 25 ,
"from" : "myemail@myserver.com" ,
"__tls__" : "When 'tls' is set to true, TLS is used immidiatly when connecting. For SMTP servers that use TLSSTART, set this to 'false' and TLS will still be used." ,
"tls" : false ,
"___tlscertcheck__" : "When set to false, the TLS certificate of the SMTP server is not checked." ,
"_tlscertcheck" : false ,
"__tlsstrict__" : "When set to true, TLS cypher setup is more limited, SSLv2 and SSLv3 are not allowed." ,
2022-12-15 21:21:16 +03:00
"_tlsstrict" : true ,
"_emailDelaySeconds" : 300
2020-05-19 03:57:11 +03:00
} ,
2020-12-17 01:55:22 +03:00
"_sendgrid" : {
"from" : "myemail@myserver.com" ,
2022-12-15 21:21:16 +03:00
"apikey" : "***********" ,
"_emailDelaySeconds" : 300
2020-12-17 01:55:22 +03:00
} ,
2021-11-25 21:34:21 +03:00
"_sendmail" : {
"newline" : "unix" ,
"path" : "/usr/sbin/sendmail" ,
2022-12-15 21:21:16 +03:00
"_args" : [ "-f" , "foo@example.com" ] ,
"_emailDelaySeconds" : 300
2021-11-25 21:34:21 +03:00
} ,
2020-05-19 03:57:11 +03:00
"_sms" : {
"provider" : "twilio" ,
"sid" : "ACxxxxxxxxx" ,
"auth" : "xxxxxxx" ,
"from" : "+1-555-555-5555"
} ,
"__sms" : {
2020-06-15 16:37:53 +03:00
"provider" : "plivo" ,
"id" : "xxxxxxx" ,
"token" : "xxxxxxx" ,
"from" : "1-555-555-5555"
2021-11-27 22:06:56 +03:00
} ,
"___sms" : {
"provider" : "telnyx" ,
"apikey" : "xxxxxxx" ,
"from" : "1-555-555-5555"
2022-09-01 23:31:10 +03:00
} ,
"____sms" : {
"provider" : "url" ,
"url" : "http://example.com/sms.ashx?phone={{phone}}&message={{message}}"
2022-10-22 17:23:55 +03:00
} ,
"_messaging" : {
2022-10-27 20:38:15 +03:00
"_telegram" : {
2022-10-22 17:23:55 +03:00
"apiid" : 0 ,
2022-10-27 20:38:15 +03:00
"apihash" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" ,
2023-11-27 18:14:51 +03:00
"session" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ,
"useWSS" : "false" ,
"connectionRetries" : 60
2022-10-27 20:38:15 +03:00
} ,
"_discord" : {
"serverurl" : "https://discord.gg/xxxxxxxxx" ,
"token" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
2023-10-04 15:49:55 +03:00
} ,
"_ntfy" : {
"host" : "https://[my]ntfy.sh" ,
"userurl" : "https://[my]ntfy.sh/userhelp" ,
"authorization" : "Basic xxxxxxxxxxxxxxxxxxxx"
2022-10-22 17:23:55 +03:00
}
2020-05-19 03:57:11 +03:00
}
}