Since the 2A is NOT for personal protection, but rather for protection from governmental tyranny...
It is for both.
Nowhere in the Second Amendment does it *exclude* personal protection.
It is indirectly or implicitly for personal protection. For the security of a free state, though, it is direct and explicit.