Both will work. And although most consider the 30-30 a short-range "brush" gun, I've not had any walk away on distant shots.
.243 will work, too. Just stick to more solidly constructed game bullets, not thin-jacketed varmint and coyote ones.
I had a .223, I just handload it with Sierra Gamekings. Also had a .25-06, .308, 30-30, and several other guns I've also killed hogs with.
Then I hit a bump in the truck and lost all of them.