I have a Synology NAS and I've been working on getting the Shared Folders (which are encrypted) mounted under FreeBSD 13.
Below are the various methods I've tried and their outcomes:
NFS: Synology doesn't allow NFS to export encrypted shared folders. I have no further information but it appears to be a widespread frustration.
SMB1: Synology can set the min smb version to 1. I can mount it with `mount -t smbfs` but I'm uncomfortable with running SMB1 in the long term due to security problems.
SMB2/3 via fusefs-smbnetfs: Similar problems as fusefs-sshfs. The mounting process appears to work, and returns without errors or logs, but there's nothing in `df` or under the mountpoint.
FTP via fusefs-curlftpfs `sudo curlftpfs -o allow_other -o user=myuser ftp://myserver/ ~/mountpoint` This works the best of all the options, except the file creation operation doesn't seem to be supported, which is a dealbreaker.
SSHFS via fusefs-sshfs: `sshfs -d -o idmap=file -o uidfile=/home/myuser/uidfile -o gidfile=/home/myuser/gidfile myuser@myserver: ~/mountpoint` this returns successfully, but I don't see the fs mounted with `df` and the mountpount is empty. I have been able to mount it with idmap=user, but the group mappings don't work right, and one of the effects is that I can't `rm` any file, which is a dealbreaker.
Side note for the fusefs methods: It's very weird, but some of the times I am required to be root (I get operation not permitted) and sometimes not, even when my user owns the mountpoint.
I'd appreciate any input or experiences other people have on this topic. I'll also post more in this thread if I think of anything new to try.
Below are the various methods I've tried and their outcomes:
NFS: Synology doesn't allow NFS to export encrypted shared folders. I have no further information but it appears to be a widespread frustration.
SMB1: Synology can set the min smb version to 1. I can mount it with `mount -t smbfs` but I'm uncomfortable with running SMB1 in the long term due to security problems.
SMB2/3 via fusefs-smbnetfs: Similar problems as fusefs-sshfs. The mounting process appears to work, and returns without errors or logs, but there's nothing in `df` or under the mountpoint.
FTP via fusefs-curlftpfs `sudo curlftpfs -o allow_other -o user=myuser ftp://myserver/ ~/mountpoint` This works the best of all the options, except the file creation operation doesn't seem to be supported, which is a dealbreaker.
SSHFS via fusefs-sshfs: `sshfs -d -o idmap=file -o uidfile=/home/myuser/uidfile -o gidfile=/home/myuser/gidfile myuser@myserver: ~/mountpoint` this returns successfully, but I don't see the fs mounted with `df` and the mountpount is empty. I have been able to mount it with idmap=user, but the group mappings don't work right, and one of the effects is that I can't `rm` any file, which is a dealbreaker.
Side note for the fusefs methods: It's very weird, but some of the times I am required to be root (I get operation not permitted) and sometimes not, even when my user owns the mountpoint.
I'd appreciate any input or experiences other people have on this topic. I'll also post more in this thread if I think of anything new to try.