## add users log in to the container: ``` pdm-shell samba ``` for each user you want to be able to connect to Samba, run ``` smbadduser ${username:?} ``` ## configure reverse proxy ### haproxy in `/etc/haproxy/haproxy.cfg`: ``` listen samba bind :445 interface eno1 mode tcp server smb-1 127.0.0.1:9045 ``` ### client to mount a Samba share, put in your fstab something like this: ``` //medusa/media /net/media cifs noauto,user,rw,username=mar,file_mode=0644 0 0 ```