The text in the table can run over multiple pages. You could add another row in the table and designate that as a header row if you want. You can also continue portrait headers/footers around the table. Otherwise, if you want landscape headers/footers the table can be in a separate section. In that case, since this is still a portrait section, you could use a variation on the solution in
How to Put a Portrait Page Number on a Landscape Page by Bill Coan, MVP, Dave Rado, MVP, and Suzanne Barnhill, MVP.