The rocket barrages launched at the city of Ashkelon, 17 kilometers (11 miles) north of Gaza, by Hamas fighters caused panic but no casualties. The Israeli military warned residents of communities near Gaza to remain in their homes, and police and rescue services announced they were raising their alert level in preparation for more attacks.

Friday's barrages followed an earlier strike by Israeli aircraft targeting militants firing rockets in northern Gaza. Dr. Moaiya Hassanain of Gaza's Health Ministry said two gunmen were moderately wounded. The renewed rocket fire from Gaza has prompted Israel to seal its crossings with the territory, halting shipments of food aid and fuel.

Hamas militants in the northern Gaza Strip also unleashed a barrage at the nearby Israeli town of Sderot, where rescue services said they were treating one person wounded by shrapnel. Several rockets hit agricultural communities near the Israel-Gaza border.

The military said Palestinians launched at least four Grad-type Katyusha rockets -- longer range missiles smuggled into Gaza, unlike the locally manufactured projectiles more commonly used. Two of them hit inside Ashkelon, the military said. With 120,000 residents, Ashkelon is by far the biggest Israeli town in rocket range.

Hamas claimed responsibility for the rocket fire in a text message sent to reporters. By targeting Ashkelon, Hamas was raising the stakes after a week of clashes and increasing the chances of harsh Israeli retaliation.