sudo apt install samba smbclient
sudo smbpasswd -a user

# ip addr show dev br0 | grep -c fe80
1

# smb.conf
bind interfaces only = yes
interfaces = 192.168.0.0/16 ::1 127.0.0.1 fe80::%br0/64

# smbd –version
Version 4.5.12-Debian


# netstat -lnp | grep smb
tcp 0 0 192.168.0.3:139 0.0.0.0:* LISTEN 17048/smbd
tcp 0 0 127.0.0.1:139 0.0.0.0:* LISTEN 17048/smbd
tcp 0 0 192.168.0.3:445 0.0.0.0:* LISTEN 17048/smbd
tcp 0 0 127.0.0.1:445 0.0.0.0:* LISTEN 17048/smbd
tcp6 0 0 ::1:139 :::* LISTEN 17048/smbd
tcp6 0 0 ::1:445 :::* LISTEN 17048/smbd

 

 

[home]
browseable = yes
writable = yes
path = /home/xxxx
valid users = xxxx
guest ok = no
read only = no

[www]
browseable = yes
writable = yes
path = /var/www
valid users = xxxx
guest ok = no
read only = no

systemctl enable smb.service

systemctl enable nmb.service
systemctl start smb.service
systemctl start nmb.service

I have verified that the Fortinet 60E is fully protecting the server including SSL Deep Inspection for the web servers.