rough the country to which they go, or of the military posts, towns, or villages therein, without the consent of the commanders of such military posts, or of the civil authorities of such towns or villages, and that henceforth they will and do hereby, relinquish all claims or rights in and to any portion of the United States or territories, except such as is embraced within the limits aforesaid, a