In this study, we propose a comprehensive mechanical model of ocular bulb vibrations and discuss its implications for acoustic tonometry. The model describes the eye wall as a spherical, pre-stressed elastic shell containing a viscoelastic material and accounts for the interaction between the elastic corneoscleral shell and the viscoelastic vitreous humor. We investigate the natural frequencies of the system and the corresponding vibration modes, expanding the solution in terms of scalar and vector spherical harmonics. From a quantitative point of view, our findings reveal that the eyebulb vibration frequencies significantly depend on IOP. This dependency has two origins: "geometric" stiffening, due to an increase of the pre-stress, and "material" stiffening, due to the nonlinearity of the stress-strain curve of the sclera. The model shows that the second effect is by far dominant. We also find that the oscillation frequencies depend on ocular rigidity, but this dependency is important only at relatively large values of IOP. Thus close to physiological conditions, IOP is the main determinant of ocular vibration frequencies. The vitreous rheological properties are found to mostly influence vibration damping. This study contributes to the understanding of the mechanical behavior of the eye under dynamic conditions and thus has implications for non-contact intraocular pressure measurement techniques, such as acoustic tonometry. The model can also be relevant for other ocular pathological conditions, such as traumatic retinal detachment, which are believed to be influenced by the dynamic behavior of the eye.