Render outside a room

I forget how. How does one have a camera outside a space, but render as if it was in the space? I tried the vrayclipper, but the wall isn’t included in the render so the light from the son pours in.

Clipping plane! I tried it the first time, but it didn’t seem to work. The second time it worked perfectly.

V-Ray Clipper has Affect Lights option, disable it and and the Sun light should not pour into the room.
Otherwise the Camera Clipping tool is more convenient for what you are looking for.