The following ports are required from a security perspective: Port 22: This is the SSH port, which is used for secure remote access. Port 443: This is the HTTPS port, which is used for secure web traffic. Port 445: This is the SMB port, which is used for file sharing.