Green’s Dictionary of Slang

ranger n.

[SE ranger, a wanderer; earlier uses + range v.]

1. the penis.

[UK]Rochester (attrib.) Sodom III i: Great Bolloxinian, no. / Your shanker Ranger & your great Bubo / Swell to your heart, your nodes and vicers stink, / All all are past one Cure or dyet drink.
[UK] [author pseudonym] ‘Roger Ranger’ Covent Garden Jester.
[UK]Farmer & Henley Sl. and Its Analogues.

2. a prostitute.

[UK]Jonson Bartholomew Fair IV v: O, you are a sweet ranger! and look well to your walks.
[US]Ely’s Hawk & Buzzard (NY) 3 July 4/1: A young woman [...] commonly called the Manhattan Island ranger.
[US]Life in Boston & N.Y. (Boston, MA) 22 Nov. n.p.: Dolly, one of the Milk street rangers [...] Reform, or you will hear from me again.

3. (Aus.) a bushranger.

[Aus]Bulletin (Sydney) 14 Jul. 13/2: [T]he A.G. was a passenger by the coach which was stuck up by Day, the bushranger, near Hartley. At the trial of the ’ranger at Bathurst, Bayley, as Attorney-General, prosecuted for the Crown, and also gave evidence.