A car bomb targeting a Libyan special forces barracks in the restive eastern city of Benghazi on Tuesday killed two soldiers and wounded another two, medical and military officials said.