Samba是一個提供SMB協定的軟體。
大多數的Linux套件都有提供,在Ubuntu下可以用apt安裝:
sudo apt install -y samba; sudo apt clean
設定會在/etc/samba/smb.conf:
/etc/samba/smb.conf
使用UFW:
sudo ufw allow from 192.168.0.0/16 to any app Samba