mistermanko
Guru
- Joined
- Jan 27, 2020
- Messages
- 577
I'm working on my offsite backup solution and ran into a slight hicc-up.
If I set up an OVPN-Server via the GUI, I can't limit the offsite ssh-user to his specific home directory (i.e. /mnt/tank/userhome/remoteuser). Instead his user has access to the whole /mnt/tank/... This is not intended by all means.
Permissions of his User and Group are limited to exactly only the user:group and the home directory is setup via the GUI.
So i read up about it here in the Forums and almost every time the suggestion is to switch to an OVPN-Server inside a jail, fstab the specific dataset to the home directory and be good.
Is this the way to go? What am I missing?
If I set up an OVPN-Server via the GUI, I can't limit the offsite ssh-user to his specific home directory (i.e. /mnt/tank/userhome/remoteuser). Instead his user has access to the whole /mnt/tank/... This is not intended by all means.
Permissions of his User and Group are limited to exactly only the user:group and the home directory is setup via the GUI.
So i read up about it here in the Forums and almost every time the suggestion is to switch to an OVPN-Server inside a jail, fstab the specific dataset to the home directory and be good.
Is this the way to go? What am I missing?