How does nav ignore mesh?

How do you make two areas go through the door and connect