To suppress the shuttle effect of polysulfides and improve the reversibility of redox reactions in lithium-sulfur battery, a porous nitrogen-rich carbon nanocage loaded with amorphous Fe nanoparticles(Fe-CNx) was synthesized by high temperature carbonization with Fe-ZIF-8 as the precursor. The results show that the Fe and N atoms on the surface of Fe-CNx are bonded with S and Li atoms in lithium polysulfides(LiPS), respectively, thus limiting the diffusion and shuttle of LiPS. In addition, the introduction of Fe atoms reduced the overpotential of LiPS conversion reaction and accelerated the redox kinetics. Therefore, the lithium-sulfur(Li-S) battery with Fe-CNx separator shows excellent electrochemical performance: the specific capacity of the battery can still be maintained at 94.3% of the initial capacity after 100 cycles of 0.2C, and the high specific capacity of 660 mA center dot h/g can be achieved even at high rate of 3.0C, and the residual specific capacity can still reach 603.2 mA<middle dot>h/g after long cycles of 800 at 1.0C.