The gate of the yard is facing the main gate, and the main gate is called Yangmen. In the past, only the government yamen palace would open the main door.
Facing the outside gate, the road is unobstructed, indicating that the official career is flat and you can see clearly from a distance, but it is different among the people. The rich will build a wall inside the gate, which is called the backer wall.
Also known as the shadow wall, it can resist disasters and prevent money leakage.
People who go in have to walk around to see the main entrance of the yard, but this wall is also very delicate, with hollow and solid flower windows and the famous Kowloon Wall in the palace.
But now there are not many yards to build this kind of shadow wall, and there are many ancient buildings, so it is probably unrealistic for you to build a wall. After entering the gate and the yard, a small garden or rockery can be built, which is beautiful and generous, and also plays the role of partition. This is a common technique used by many modern feng shui masters.
The above answers are for reference only, hope to adopt!