Transport of one-dimensional interacting fermions through a barrier