Prime Minister Benjamin Netanyahu on Wednesday pledged to act "very forcefully" against anyone seeking to harm Israel after Gaza militants fired a barrage of 25 rockets over the border.