The paper considers a system of ordinary differential equations with nonlinear boundary conditions in the form of equalities and inequalities. For this problem, sufficient conditions for the existence of solutions on a certain family of closed intervals are obtained. In the particular case of the Cauchy problem, these conditions turn into the classical conditions of the Peano and Caratheodory
theorems. Some examples are given that illustrate the main result.