  In this paper, we have presented a compact object model in the framework of
Einstein-Gauss-Bonnet gravity (EGB) with a linear equation of state considering
a metric potential proposed for Buchdahl (1959). The new obtained models
satisfy all physical requirements of a physically reasonable stellar object. We
analyzed the effect of the Gauss-Bonnet coupling constant {\alpha} on the main
physical characteristics of the model. We checked that the radial pressure,
energy density and anisotropy are well defined and are regular in the interior
of the star and are dependent of the values of the coupling constant.

General Relativity and Quantum Cosmology