A T-shaped cavity dual-frequency Nd:YAG laser with electro-optical modulation is proposed, which consists of both p- and s-cavities sharing the same gain medium of Nd:YAG. Each cavity was not only able to select longitudinal mode but also tune frequency using an electro-optic birefringent filter polarization beam splitter + lithium niobate. The frequency difference of dual frequency was tuned through the whole gain bandwidth of Nd:YAG, which is far above the usually accepted free spectral range value in the case of a single-axis laser. As a result, the simultaneous operation of orthogonally and linearly polarized dual-frequency laser was obtained, which coincides with the theoretical analysis based on Jones matrices. The obtained frequency difference ranges from 0 to 132 GHz. This offers a simple and widely tunable source with potential for portable frequency reference applications in terahertz-wave generation and absolute-distance interferometry measurement areas.