Rushing and biting the back of the leg in a tied up dog is NOT herding behavior. That is defense/fear behavior.
Herding behavior is when the dog is LOOSE and tries to drive by nipping the backs of legs.
I recommend that you get a portable fence/kennel/X-Pen and use that to confine the dog instead of tying him up. Be sure the dog has some sort of den like house in the pen (like a plastic crate) that he can retreat into and feel safe if someone comes by.
Herding behavior is when the dog is LOOSE and tries to drive by nipping the backs of legs.
I recommend that you get a portable fence/kennel/X-Pen and use that to confine the dog instead of tying him up. Be sure the dog has some sort of den like house in the pen (like a plastic crate) that he can retreat into and feel safe if someone comes by.