This tutorial demonstrates the process of allowing SMB (Samba) traffic in UFW on Ubuntu and Debian operating systems.
An Ubuntu or Debian operating system utilizing UFW (Uncomplicated Firewall) can not connect to SMB network shares by
default. Before connecting to the shares, UFW must be configured to allow SMB traffic. Fortunately, the solution is a
simple, one-line command. Launch a terminal and enter the following:
UFW will now allow all SMB traffic on the appropriate ports. The SMB network shares can now be mounted and
Share this Content
Delete Files Older than X Days in Python
Create a Python script to delete files older than x days.