Lithium-sulfur batteries are a new high-performance battery technology that consists of lithium metal as the negative electrode and sulfide material as the positive electrode. Compared with conventional lithium-ion batteries, LiS batteries offer higher energy density as well as cost advantages. However, the shuttle effect of polysulfides in LiS batteries can lead to serious degradation of cycling performance, etc., which hinders the commercialization of LiS batteries. For this reason, in this study, the green biomass material loofah sponge was used as a precursor, and the porous carbon material was produced by calcination after introducing the F element and used as a separator modifier to curb the shuttle effect, which is environmentally friendly, economical, and green. Comparative studies were conducted on ordinary PP separators, separators made of carbon materials before and after F-doping. The experimental results show that the F-doped porous carbon material cladding membrane improves the charge/discharge capacity, multiplication performance, and cycle stability of LiS batteries, which reflects the great potential in practical applications.