The present invention relates to new compounds of formula (I) that show great affinity and activity towards the subunit a2d of voltage-gated calcium channels (VGCC), or dual activity towards the subunit a2d of voltage-gated calcium channels (VGCC) and the noradrenaline transporter (NET). The invention is also related to the process for the preparation of said compounds as well as to compositions comprising them, and to their use as medicaments.