Nextcloud - Windows
Initial Config
For the best experience, it is recommended to set up your Nextcloud devices on LAN with a designated IP address and port. This setup allows you to sync files, calendars, and contacts while away from home using a Router VPN.
Once configured, you can also use Tor for remote syncing. However, keep in mind that transferring large files may fail or take a considerable amount of time. Therefore, it is advisable to use remote syncing primarily for low-bandwidth activities, such as syncing calendars, contacts, tasks, and notes. Streaming music is also possible.
When using remote connections, be mindful of any data caps on your cellular plan. You may need to limit bandwidth usage by disconnecting from your Router VPN server or Tor when using cellular data.
Native Desktop Integration
If you prefer to use Microsoft's integrated Calendar and Contacts apps with your Windows machine, you can integrate directly. First head into the top-righthand menu of your Nextcloud's WebUI and click "Apps," then search for and install the Calendar and/or Contacts Apps. The steps below are adapted from the Official Nextcloud guide.
Make sure you have first set up LAN access. Then do the following:
-
Launch the Windows Calendar app and click the gear icon (Settings), then select "Manage Accounts."
-
Select "Add Account" and choose "iCloud" (don't worry, it won't really be iCloud).
-
Enter an email, username and password. None of this information has to be valid and it will all be changed in the upcoming steps. Click "Sign In" (or "Done" in Win10).
-
In the "Manage Accounts" menu, click on the account just created and select "Change Settings," and then "Change mailbox sync settings" (at the bottom of the page).
-
Scroll to the bottom again and fill in the following fields (as desired):
-
Calendar Server (CalDAV) - This link can be copy-pasted by clicking your Nextcloud Calendar app's "Calendar Settings" in the bottom-left, then "Copy primary CalDAV address" at the bottom of the expanded menu.
-
Contacts Server (CardDAV) - This link can be copy-pasted by clicking your Nextcloud Contacts app's "Contacts Settings" in the bottom-left, then the kebab (3 dots) menu next to "Contacts," and finally "Copy Link" at the top of the resulting menu.
-
-
Click "Done."
You should now be able to sync your native Windows Contacts and/or Calendar apps with the associated Nextcloud apps.
Standalone Clients
File Syncing - Nextcloud Desktop
This is Nextcloud's official client application for file syncing and account management. The latest version of the official Nextcloud client is available on their download page.
LAN/Router VPN Setup
Make sure you have first set up LAN access. Then do the following:
- Download the appropriate desktop client from https://nextcloud.com/install/#install-clients
- Open the client and click "Log In"
- From your server's Nextcloud Service page, go to "Interfaces" and copy the IP address and port, or .local and port.
- Enter your LAN address under "Server Address" and click "Next"
- You will be asked to Trust your server's certificate, which is safe to do as you generate and sign this during LAN Setup
- Tick the box for "Trust this certificate anyway" and click "Next"
- This will launch a page in your web browser, click "Log In" and then "Grant access" to link the desktop client. You can close this browser window afterwards
- Next, configure the local directory that you want to sync with Nextcloud. You may use the default or change it, and edit the sync settings to desired. When satisfied, click "Connect"
- Files will begin to sync immediately and you will see a green check when this is complete.
- That's it! From this desktop client you will recieve notifications, control accounts and syncing, and quickly access your Apps' WebUI pages
Tor Setup
You will first need to have the Tor daemon running.
- On your desktop application, click the account in the top left -> Settings, then in Settings, click Network, then "Specify proxy manually as" and "SOCKS5 proxy." Enter "127.0.0.1" for the Host and "9050" for the port.
- Close the Settings screen and click the account in the top left again, then "Add Account."
- On the following screen, click "Log in," then enter your Nextcloud Tor server address, which you can copy from Nextcloud -> Interfaces - Tor. This should start with
http://
and end with.onion
. Click Next. - This will launch your browser and prompt you to log in to your account. Log in and then grant access as we did for LAN.
- That's it! You may wish to set up some select folders for remote sync, but for large files, it is best to sync on LAN only, so you can "Skip folders configuration" on the resulting screen if you wish. Check your connection by clicking the newly created account in the client app.