I figured out the error to why it doesn’t work. I’m able to port forward to 8065 now, but I can’t port forward securely.
- Installed Mattermost from the QNAP AppStore
- Signed up as the First User in Mattermost -> Become Default System Administrator
- Went to the console and made the siteURL into my company specific static IP https://xxx.xx.xx.xx:8067, which is also accesible via (https://xxxxxxx.myqnapcloud.com:8067). Fyi, this is the FREE domain name given by QNAP so that you always connect via SSL to their in-house services (does not apply to Mattermost according to their product page).
- When I change the listening port to :443 just like the installation guide says (in order to enable TLS security), that’s where I start encountering problems. I’m told that I need to restart the Mattermost app if I change anything besides the siteURL. Then after it boots up, it won’t start again. Trying to access port 443, 8065 or 8067 locally gives me error for “too many redirects”.
- At this point, I have to uninstall and reinstall agan.
So realy, everything is fine except Step #4. When I change the listneing port from :80 by default to :443 like the installation guide says so, I can no longer access Mattermost by going to port :443, :8065 or :8067 locally according to Mattermost docs.
If I skip #4, I can now access my Mattermost locally and remotely via port forwarding from router. But I’m always given the “not secure” connection.
According to a rep I spoke to, QNAP NAS runs Mattermost on Docker, which it’s local storage can be accessed via SFTP SSH. I’m not sure if this piece of information helps.