Odpowiedz: NextCloud with Wireguard: which ports to open to stay secure

Hello,
I’m new to Nextcloud. Could you please tell me if it is possible to make Nextcloud with Onlyoffice accessible by VPN only (Wireguard) with exposing anything to Internet?
Right now I have Wireguard server on my router and client (phone). It works fine. Have fully access to local network from outside home.
For Nextcloud and Onlyoffice (two separates Ubuntu instances) I did open two ports on my router. If it possible to bypass Nginx completly?

best wishes
Gerard

Hello @foxx999,

welcome to the Nextcloud community! :handshake:

please use search many topics related to this issues exist - look at specific tags wireguard vpn tailscale