For completeness, I’m using “bitnami-mattermost-5.12.1-0-linux-debian-9-x86_64”
I have the virtual appliance running on a local ESXi 5.5 server.
I did a:
- sudo ifconfig
ens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.10.34. netmask 255.255.255.0 broadcast 192.168.10.255
I’ve assigned the appliance a static IP address:
- cd /etc/systemd/network
- sudo cp 99-dhcp.network 25-wired.network
- sudo edit 25-wired.network
On the router, I’ve setup DDNS with NO-IP such that the site URL is always pointing to my WAN IP
I’ve also forwarded port 80 and port 443 to internal IP address 192.168.10.34
I’ve filled-out the info for the first ‘user’ and the first ‘team’ in Mattermost
I’ve run nslookup www.redacted.com
And I see:
- Name: redacted.hopto.org
- Address: (redacted).(redacted).82.137, Which is my WAN IP
So, I have reason to believe this part is working
From Mattermost [System Console:Web Server:Site URL] I’ve tried repeatedly to change h#ps://192.168.10.34 to:
However, [:Site URL] always returns to the value of h#ps://192.168.10.34 after each server reboot.
I’m purposely using ‘#’ in place of ‘tt’, because of the limitation on links that I’m permitted in this message.
When I try to access Mattermost from outside my LAN, I see it make its way through the NO-IP redirection and my router, but the browser shows my local IP address 192.168.10.34 in the URL bar, which is of course unreachable from outside LAN and the page loading process halts.
I’ve also previously broken my install a couple times trying to setup the [:listening port], [:forward port 80 to 433] and getting [:use let’s encrypt] to work. I kept ending up with the dreaded 502 Gateway Error and not being able to undo my changes, I was forced to reinstall the VM and begin setup all over again. Which is where I am now, pretty much a ‘virgin’ install, except for the static IP changes and trying to change [System Console:Web Server:Site URL]
I’ve spent a couple evenings now reading about how to fix one issue and then another, but I’m not making any progress at this point, so I’m hoping someone might be able to assist me in getting my Mattermost site running well enough that it can be accessed from outside my local network and with a certificate.