Major James Joshua Bowman, 34, from Salisbury, Wilts, was one of three soldiers from the 1st Battalion the Royal Gurkha Rifles murdered on Tuesday by Taleb Hossein at the base they shared in Helmand province.
Hossein, 23, shot dead Maj Bowman in Patrol Base 3 in Nahr-e Saraj district, near Helmand’s capital, Lashkar Gah, in southern Afghanistan.
The Afghan soldier also fired a rocket-propelled grenade into the base’s command centre, killing Lt Neal Turkington, 26, from Craigavon, Northern Ireland, and Cpl Arjun Purja Pun, from Nepal, and wounding four other UK soldiers.
This is the second time in the past year that Afghan security forces have attacked UK troops. No connection to al-Qaeda or the Taliban is known.