I posted this earlier here but was recommended to open a new thread.
What I want to do:
On the OMV machine, tun Rsync remote pull from a Windwos 11 / WSL instance to an OMV 8.1.2-1 (Synchrony) installation.
I'm aware this involves a few tricky things - port forwarding to WSL on the Windows side etc. - but I was able to resolve these, and make the Rsync job work on the OMV machine's command line level.
Here's the command that I can run successfully on the OMV machine's CLI:
rsync -av -e 'ssh -p 2022' <WSL-user>@<IP-of-Windows-machine>:/mnt/<Windows-drive-letter>/'source directory' /srv/dev-disk-by-uuid-XXXX/.../target_share/target_directory
The Windows machine is set to forward SSH requests to its port 2022 to port 22 of the WSL virtual instance (while port 22 of the Windows machine is used for SSH requests to Windows). It took me a while to figure this out, but ... it works: After entering this command, I'm prompted for the WSL-user's password, and the Rsync job is successfully executed.
However, I wasn't able to make it work out of the OMV web interface for Rsync. I tried, increasingly erratically, quite a few configuration variants (including, of course, adding the :2022 port to the remote IP address), but kept receiving "access denied" or "host not recognized" error messages.
Any suggestions / shared experiences / help? Thanks!