Nothing in sections
473 to
478,
479 to
482 and
551 of this title shall be construed as prohibiting the egress or ingress of actual settlers residing within the boundaries of national forests, or from crossing the same to and from their property or homes; and such wagon roads and other improvements may be constructed thereon as may be necessary to reach their homes and to utilize their property under such rules and regulations as may be prescribed by the Secretary of Agriculture. Nor shall anything in such sections prohibit any person from entering upon such national forests for all proper and lawful purposes, including that of prospecting, locating, and developing the mineral resources thereof. Such persons must comply with the rules and regulations covering such national forests.