midnightcomm
Usually what I've seen with military bases is all the entrances mapped with access=private or access=destination along with a border control barrier=border_control

This solves the problem of routing people through military bases who aren't allowed; but still enabling actual private roads (Generals Only etc).