That never occurred to me.
Up until now, I used the clipping feature in c4d's camera for this. With its obvious drawbacks. So, thank you for that.
However, in my test I noticed that one doesn't even need the normal direction shader for this to work. A simple transparent material works just fine, when assigned to either side (front or back, depending on your normal direction) and your wall material to the other side.