The γ-ray spectrum of the source HAWC J1825-134 measured with the High Altitude Water Cherenkov (HAWC) observatory extends beyond 200 TeV without any evidence for a steepening or cutoff. There are some indications that the γ-rays detected with HAWC were produced by cosmic ray protons or nuclei colliding with the ambient gas. Assuming primary protons, we inquire which shape of the primary proton spectrum is compatible with the HAWC measurements. We find that the primary proton spectrum with the power-law shape of γp=2.2 and the cutoff energy Ec−p>700 TeV describes the data well. However, much harder spectra with γp down to 1.3 and Ec−p as low as 200 TeV also do not contradict the HAWC measurements. The former option might be realized if the accelerator is inside or very near to the γ-ray production zone. The latter option is viable for the case of a cosmic ray source which effectively confines low-energy (Ep<100 TeV) accelerated protons.