THX to everybody. I was able to solve the problem taking a different approach.
I setup a permanent site-to-site vpn between both offices so the users are able to access all shared folders in the main server, so i no longer need to do the sync.
The trick was to edit the provided .ovpn file and extract user, ca and key certificates to fulfill the form in the vpn → client tunnel nethserver gui
1 Like