I have now also tried without certificate, running only http, but same problem there. Inside the tunnel, I can do traceroute with Fing on the FQDN and it points to the correct internal IP address. But when I try to go there in the browser, I get page cannot be found.
For a long time I have accessed my selfhosted Nextcloud using Wireguard VPN app on my Android. I establish a connection, and then the Nextcloud Android app can reach trough my firewall at home and access my NC on my LAN. This NC instance has been unsigned, http only.
Yesterday it had a serious update crash and I decided to rebuild from scratch. I reinstalled with a selfsigned cert to get rid of the “no https” warnings and gave the new instance the same IP as the old instance.
When inside my LAN, everything works just as before, syncing with the Linux/Windows desktop clients and to my Android Nextcloud app.
But when on the go, the Nextcloud app will not connect through the VPN tunnel. The tunnel works, because I can access other services inside my LAN from the outside. It’s just the Nextcloud instance that is unreachable, both via the Android app and via the browser on my phone. “Server not available”.
Does this have to do with the selfsigned certificate? Or what could be wrong?
The current instance is NC 27, the old one was NC 23.