Can a PathfindingModifier be used on one side of a part?

Put short, I want the PathfindingService to be able to create a path that can go through one face of a part, in this case the front of it, while it still cant go through the back. If that sounds complicated, I know it kind of is, then take a look at the attached image.


Any help on this is very much appreciated.