Connect Nextcloud internet with Nextcloud External

Dear Forum Members,

I am currently managing two Nextcloud instances, one deployed externally to facilitate sharing with users beyond my local area network (LAN), and another hosted internally within the LAN. My objective is to establish seamless connectivity between these instances, allowing users to synchronize files bidirectionally. Specifically, I aim for users to upload files to the external instance and have them synchronized to the internal Nextcloud instance, and vice versa.

Could someone kindly provide guidance on configuring such a setup? I am particularly interested in understanding the necessary configurations and protocols to ensure secure and efficient synchronization between these two Nextcloud environments.

Thank you in advance for any insights or recommendations you can offer.

Take a look at the external storage feature. You could allow one Nextcloud to access files from the other Nextcloud via Webdav or by accessing a shared Network drive.