Two security agents and two migrants were killed in a shooting in Loon-Plage near the northern city of Dunkirk, French media reported on Saturday, citing security sources.
A 22-year-old man turned himself in to nearby authorities following the shooting, saying he had been the attacker and had also killed a fifth person in a nearby town earlier that day, according to French media.
Authorities found three more weapons in the man's car, French media reported.
Representatives for the Interior Ministry and the Justice Ministry did not immediately respond to requests for comment. It was not immediately clear what the motives were for the shooting.
Loon-Plage, located about 10 kilometres from the English Channel, is the site of a migrant camp.

Kenyan court charges 8 schoolgirls with fellow students' murder
At least 5 people killed in fire in Antwerp apartment block
Three people die in Mexico World Cup celebrations as fans crowd streets
US and Iran enter technical talks to secure peace deal, shipping restart
After Venezuela quakes, citizens lead rescues amid military theft accusations
Two dead after wildfire guts house in northern Greece
Afghanistan launches airstrikes on IS targets on border with Pakistan
Bangladesh warns of dengue surge as weather aids spread
