For troubleshooting questions, please post in the following format:
Summary
Unable to connect to MM server when connect to OpenVPN hosted on the router.
Steps to reproduce
MM Server Version 5.37.0 (happened with past versions as well), All mobile (v 1.45.1) and desktop clients
How can we reproduce the issue (what version are you using?)
OpenVPN is hosted on router, Ubiquiti USG Pro 4. Connect to OpenVPN, try to connect to MM on server behind router. It doesn’t connect. Disconnect OpenVPN, MM connects. MM is exposed to Internet and works on a normal network.
Expected behavior
MM should connect as usual when not connected to OpenVPN
Observed behavior
What did you see happen? Please include relevant error messages and/or screenshots.
MM shows connecting… At the top and no Internet on the main screen
Since it works with the normal network, you will need to check on how you configured OpenVPN to allow connectivity to pass through for Mattermost (you also mentioned that other local network resources are accessible).
Did you refer to any specific documentation when setting up Mattermost as well?
There’s absolutely nothing relevant in your apache configuration for the current topic.
This has nothing to do with Mattermost, but everything to do with openvpn and network configuration. It’s as if you opened a ticket at Coca-Cola Co. because your fridge is broken and cannot keep the bottle cool
In any case, if ahmaddanial thinks this is a topic for this forum, then you’d be better off describing your network. Where does mattermost reside relative to the router/openvpn server? What IPs were the services assigned? Have you tried pinging the server? The more details, the better.
P.S. This is obsolete:
Order allow,deny
Allow from all
The fact that it still works is quite astounding. Look it up on the internet, there are are directives now which have superseeded this.