How to pick a point on path close to a target

I am working on a tower defense game. I use mesh collider to get my path. The towers are not on the walk able area.

In my games creeps attack the towers. Creeps have attack range.
When the creeps decide to attack a tower I need to pick a pint that is with in attack range of creep and and on the walk able path.

Can anyone provide help on how to do this?

#1 Snap to nearest node (See seeker setting -> start-end mods)

OR

#2 When your in Range of the tower -> END PATH -> attack