The AHJ in my area says "a reasonable distance" When pressed for a number he says a reasonable distance is 15 feet or less. Any further than that he requires disco/over current protection on the outside of the building. As far as a maxium with OCP he had no maximum.