We extend the exact periodic Bethe Ansatz solution for one-dimensional bosons and fermions with delta-interaction and arbitrary internal degrees of freedom to the case of hard wall boundary conditions. We give an analysis of the ground state properties of fermionic systems with two internal degrees of freedom, including expansions of the ground state energy in the weak and strong coupling limits in the repulsive and attractive regimes.