💿

Encrypted SAMBA

List Block Devices

lsblk

Decrypt LUKS drive

sudo cryptsetup luksOpen /dev/sdaX STORAGE

Mount

sudo mount /dev/mapper/STORAGE /media/voidranjer/STORAGE

Configure Samba

sudo vim /etc/samba/smb.conf
[sambashare] comment = Samba File Share path = /media/voidranjer/STORAGE read only = no browsable = yes

© 2025 James Yap

Personal Website and Knowledge Base