Determined,
All engineering is a compromise... Weapons, however, unless the range and threats are ambiguous, should be more focused in intent and ability...
Depending upon where you live- house away from neighbors, an apartment, residential tract, or a cave, your weapon should be tailored to potential threats.
Yeah, yeah, there is always the danger of over penetration. This can be obviated by ammo selection.
In a close/closed environment, with thin walls, or in a cramped hallway, a shotgun is best. 12ga if you can handle it. 2 3/4" #4 Buck for inside a room or hallway.
A Glock 21 or 30, with Arredondo mag extension on 13rd mags, TLR-2 laser/light, and tritium night sights. Full-up with 18rds of .45acp in bonded core ammo, like Winchester 230gr PDX1.
Rifle? Not best choice for indoors, though an SKS, AK, or *shudder* AR15 would certainly suffice... Just make sure you know what you're aiming at, and that you can hit what you aim at...
A .30-30 lever action? The SKS has same performance, costs less, if .30-30 is new, and the SKS has 10rds, rapidly reloaded by stripper clips... I've actually run while reloading an SKS- its faster than bolts or pumps, and certainly lots easier for ammo carriage...
Good luck...
OA, out...