Replies: 1 comment 21 replies
-
You haven't shared ur config.json file. |
Beta Was this translation helpful? Give feedback.
21 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe your issue
I enabled the web relayDNS feature, however when I click the http or https links it opens and getting instantly a 404 page does not exist error. Connection path: ISProuter --80,443--> TPLink router --80,443-> RasPI(nginx,tactical rmm,meshcentral). Everything is communicating fine(agents), RDP,webRDP working, only http and https not.
Screenshots
Server Software (please complete the following information):
OS: Debian 12.
Virtualization: none
Network: WAN, nginx reverse proxy, letsencrypt, ssl offload
MC Version: 1.1.32
Node: 18.20.4
Client Device (please complete the following information):
Remote Device (please complete the following information):
config.json:
{
"settings": {
"cert": "mesh.xxxxxxxxx.xx",
"WANonly": true,
"minify": 1,
"port": 4430,
"aliasPort": 443,
"redirPort": 800,
"redirAliasPort": 80,
"AgentPong": 300,
"RelayDNS": ["relay1.mesh.xxxxxxxxx.xx",
"relay2.mesh.xxxxxxxxx.xx",
"relay3.mesh.xxxxxxxxx.xx",
"relay4.mesh.xxxxxxxxx.xx",
"relay5.mesh.xxxxxxxxx.xx",
"relay6.mesh.xxxxxxxxx.xx",
"relay7.mesh.xxxxxxxxx.xx",
"relay8.mesh.xxxxxxxxx.xx",
"relay9.mesh.xxxxxxxxx.xx"],
"BrowserPong": 300,
"mstsc": true,
"allowLoginToken": true,
"allowFraming": true,
"agentPing": 35,
"allowHighQualityDesktop": true,
"tlsOffload": "100.0.0.250",
"agentCoreDump": false,
"compression": true,
"wsCompression": true,
"agentWsCompression": true,
"maxInvalidLogin": {
"time": 5,
"count": 5,
"coolofftime": 30
},
"plugins": {
"enabled": true
},
"postgres": {
"user": "xxxxxxxx",
"password": "xxxxxxxxxxxxxx",
"port": "5432",
"host": "localhost"
}
},
"domains": {
"": {
"title": "XXXXXXXXXX",
"title2": "MESHCENTRAL",
"newAccounts": false,
"certUrl": "https://100.0.0.250:443/",
"geoLocation": true,
"cookieIpCheck": false,
"mstsc": true
}
}
}
nginx:
server {
listen 80;
server_name mesh.xxxxxxxxx.xx;
location / {
proxy_pass http://100.0.0.250:800/;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen 443 ssl;
server_name mesh.xxxxxxxxx.xx;
proxy_send_timeout 330s;
proxy_read_timeout 330s;
ssl_certificate /etc/letsencrypt/live/xxxxxxxxx.xx/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/xxxxxxxxx.xx/privkey.pem; # managed by Certbot
ssl_session_cache shared:WEBSSL:10m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_http_version 1.1;
proxy_pass http://100.0.0.250:4430/;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Beta Was this translation helpful? Give feedback.
All reactions