Collider of camera and wall

hello everyone, I am working on a project in vr and I am experiencing a problem between the collisions of the camera box collider and the wall, obviously I would like the camera not to go over the wall but I have tried various ways but each time the result is the same, if I manage to collide the camera with the wall the wall suffers the physical force and falls, if I try to use costrain with the same settings I go through, the camera box collider is correctly positioned to follow the movements of the camera the rigidbody is also correctly set how can I solve this?