The settlers residing within the exterior boundaries of national forests, or in the vicinity thereof, may maintain schools and churches within such national forest, and for that purpose may occupy any part of the said national forest, not exceeding two acres for each schoolhouse and one acre for a church.