A man from Bedford was one of 25 people to be arrested following an illegal rave in Sussex.