The Open Door policy was one United States policy from 1899 that aimed keeping equal rights for countries trading with China. The area which U.S. wanted to keep from gaining too much control was Europe. That since the Opium War was exploring and keeping privileged trades in China.
The conflict example of European/Western intrusion in China before the Boxer Rebellion is Opium Wars. The Boxer Rebellion occurred around 1900, the Opium Wars was between Western Countries and Qing Dynasty, the Western fought for territory and commercial control of China and won the war creating an equal state of trading for European Countries during 1800.