I've had similar symptoms, except no correlation with wiping. The dull pain I get is almost always due to swollen tubes leading up from the testicles -- a frequent "co-symptom" at these events. Recently the pain from this swelling has been so great as to make me maneuver "gingerly" when sitting in a chain after the BM. Pain/swelling dissipates in ~ 1 hour.
Personally, I feel like the BM is pushing against the prostate (and/or something else?) and forcing liquids from those parts down whichever pipes they'll go. Some goes the wrong direction to the testicles; some goes out the penis. I have no idea why would this happen but I wonder about enlarged prostate, distended lower bowel, worse....
Saw my doctor last week; he seems a bit incredulous and perplexed. He did diagnose epididymitis (sp?) and Px'd antibiotics. Previous treatments seemed to knock the symptoms down for a few months. (this is perhaps my 3rd or 4th visit on the same matter in 3.5 years, but I kinda delay going back in to see him until the events are consistent -- more the rule than the exception, per BM.)
There's no suggestion why I get epididymitis, but -- with no expertise in the area -- I suspect it's due to the fluids getting squeezed to/from wrong places during the BMs.
Dr said he'd refer me to a urologist if the problem didn't go away this time. Next time I'll have to be aggressive & revisit while the symptoms are still mild & irregular.
Good luck to you!