Fore and aft
From the bow (front) to the stern (back) of the ship.
Back