Conformationally constrained peptides target the allosteric kinase dimer interface and inhibit EGFR activation.