Gun guys aren't liked here but if somebody is going to get a nasty surprise it would be the bad guys.
If you are a hard target bandits will most likely choose another one.
If 10 people really really want your food and supplies, they will burn you out or crash a vehicle into your home, or drop a tree on it. Alone you are nothing, you are much more in a community.
Think minute men vs a lone wolf. It is no contest.
See https://www.monolithic.org/ for the right way to build. Crashing a vehicle does nothing. One of those homes, at the bottom of a hill, withstood a run-away 18-wheeler with only cosmetic damage. Fire could damage a layer of insulation, but only if the dome isn't covered in stucco or better. Get the impact-resistant windows plus shutters, and get the tornado-resistant door.
Don't get me wrong though, since guns are extremely useful for defense and most of the bad guys aren't very tough. Surviving without a community in a serious scenario is just impossible.