Context:
Using KNetAttacht (Network Folder Wizard in KDE), it is possible to integrate a remote network folder within the KDE desktop – securely over an insecure public Internet connection via a SSH tunnel; eg https://docs.kde.org/stable5/en/kde-workspace/knetattach/knetattach.pdf
The SSH tunnelled files, can then be viewed as a virtual folder, for example, with Dolphin under Network. In this form they take a distinct and separate entry, from say the local Samba Shares.
My question:
It is possible to mount such a virtual folder as created by KNetAttacht, as a Samba share, such that the contained (remote / ssh tunnelled) files can then be shared further over the local LAN, like other Samba shares located on the local physical disk ? eg. to local Windows machines.
I have searched on this topic, but am unable to find anything. Not being very knowledgeable on such topics, I do not know if such a Samba mount of a virtual folder is even possible or for example, how would I construct a path statement in the smb.conf file ?.
Motivation:
In the early days of Windows 7, it was possible to SSH tunnel over the Internet to a Linux SSH server, to mount a Samba file share in a windows file manager, via a loopback network adaptor – It appears nowdays, Microsoft now make this very difficult – no longer practical to simply do or securely – hence my interest in constructing a SSH tunnel from a remote linux pc to a local linux pc and then locally onwards sharing using Samba.
Thank-you for your interest and any suggestions and welcomed assistance,