Around 30,000 people fled into Cameroon at the weekend from the Nigerian city of Rann, fearing an attack by Boko Haram militants, the U.N. refugee agency said on Tuesday.