Open elkekou opened 1 year ago
Try the agentAliasDNS
setting like this:
{
"$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
"settings": {
"cert": "remote.fqdn.com",
"port": 4430,
"aliasPort": 443,
"agentPort": 4431,
"agentAliasDNS": "help.fqdn.com", <-----------
"agentAliasPort": 443,
"AgentPong": 300,
"TlsOffload": "127.0.0.1",
"userAllowedIP" : "192.168.2.0/24,192.168.52.0/24",
"AgentTimeStampServer": false,
"syslog": true
},
"domains": {
"": {
"certUrl": "https://remote.fqdn.com:443/"
}
}
}
This could setup the server with the correct DNS name for the main HTTPS server and the correct DNS name for the agent port. Let me know if that works.
I've tried all the permutation possibilities (help.fqdn.com / remote.fqdn.com) and it does not work. I really don't understand. I have a workaround though, the email invitation works. I will continue to look for these "cert/agentaliasdns" options. Thanks for your help,
Hi,
I've a little problem on my meshcentral server.
I have configured it behind an nginx proxy with 2 differents URL serving 2 differents port on mesh central. One url is for agent connexion (https://help.fqdn.com), and the other one (https://remote.fqdn.com) for meshcentral operator who use remote assistance. I managed to install agent and take control remotely without problem.
My problem is about the "invite link" which is not working, the error is : "cannot GET /agentinvite". But if I use the FQDN for operator (https://remote.fqdn.com) and the end of the generated URL for invite link, it's working.
I think I forgot something in mesh config but fail to see what's wrong, could you please help me?
Thank you, for your wonderfull product :)
Here is my meshcentral conf:
Nginx conf for Agent URL : https://help.fqdn.com
Nginx conf for web interface (remote assitance ): https://remote.fqdn.com