After Li Zicheng sent Bai Guangen to surrender to Chen Yongfu, Chen Yongfu hesitated for fear of Li Zicheng's revenge. Li Zicheng made an oath with him not to pursue it, thus surrendering to Chen Yongfu, and later named Chen Yongfu Wenshui Bo, and Chen Yongfu followed Li Zicheng from then on. After Li Zicheng was defeated in the Shanhaiguan War, Chen Yongfu was ordered to lead 10,000 men to guard Taiyuan.
In the 14th year of Chongzhen, when Li Zicheng rebels captured Luoyang, they led troops to rescue Luoyang. Li Zicheng sensed the emptiness of Kaifeng and rode into Kaifeng, Enemy at the Gates. Chen Yongfu immediately returned to Kaifeng to guard. Later, when Li Zicheng opened the seal, he lived in seclusion in Kaifeng, and was promoted to company commander because of his meritorious military service.
Li Zicheng attacked Kaifeng for a long time, and his left eye was shot with an arrow (the archer has, the son of, and the pawn Xie San). Later, Kaifeng broke through after being flooded. In the sixteenth year of Chongzhen, Sun Chuanting attacked Li Zicheng, and when Sun Chuanting retired, he served as a Shoujiang in Jia County, and was defeated by various ministries.