So on freenas, we had the option for SCPonly on the shell, so the user account could only use SCP/SFTP and no acces to the system whatsoever.
But now on truenas Scale, how would i setup a dataset from start to finish for sharing to a windows using neighbour(s). Setting up a VPN is off course a option with SMB share, but the vpn could potentially interfere with their internet acces, so i don't want trouble there (the vpn would restrict in a vlan to only the truenas machine.
SFTP would be the easiest option as there is software that can make a network drive from a SFTP share so every backup software can use it.
Now, when i create a user, it can acces the root directory of the system. I want to restrict the users to their own home directory. I created a dataset in root of the pool "neighbour storage" and then a dataset for each neighbour. But how would i restrict users to their own dataset, and only allowing them file acces through SCP/SFTP and nothing else, while not even able to read the directory's of "neighbour storage" so they could see which other neighbours have storage reserved at my place for off-site backups.
(yeah, we thought about making a LAN through all the houses, or using a wifi solution, but that didnt work out to great :+, and i want to make it future proof so family from elsewhere in the country can acces it too)
On the firewall side, i know the IP's of said neighbours, so i can restrict of scp/sftp to their specific IP's instead of the whole wide web.
But now on truenas Scale, how would i setup a dataset from start to finish for sharing to a windows using neighbour(s). Setting up a VPN is off course a option with SMB share, but the vpn could potentially interfere with their internet acces, so i don't want trouble there (the vpn would restrict in a vlan to only the truenas machine.
SFTP would be the easiest option as there is software that can make a network drive from a SFTP share so every backup software can use it.
Now, when i create a user, it can acces the root directory of the system. I want to restrict the users to their own home directory. I created a dataset in root of the pool "neighbour storage" and then a dataset for each neighbour. But how would i restrict users to their own dataset, and only allowing them file acces through SCP/SFTP and nothing else, while not even able to read the directory's of "neighbour storage" so they could see which other neighbours have storage reserved at my place for off-site backups.
(yeah, we thought about making a LAN through all the houses, or using a wifi solution, but that didnt work out to great :+, and i want to make it future proof so family from elsewhere in the country can acces it too)
On the firewall side, i know the IP's of said neighbours, so i can restrict of scp/sftp to their specific IP's instead of the whole wide web.