A fastness is a place, such as a castle, which is considered safe because it is difficult to reach or easy to defend against attack. They could have withdrawn into the mountain fastness of Eryri. a place that is safe because it is difficult to reach = stronghold