Does he breast feed or bottlefeed?
I think all babies go through this.
What I done with my DD, is:
Bicycle her legs as if riding a bicycle
Bend her legs up to her stomach count to 10, then shake then down again (she loved this)
Rub her tummy gently from left to right in a circular motion
Stroke her tummy in a downwards motion.
When he wakes and his tummy is all upset put him up to your shoulder and pat his bum to show him where the wind should be coming out. It will take a few weeks but it will soon go.
Also I tried gripe water and colic drops before she fed, and that cut a lot of it the wind down as well.
Once he has got the hang of this, he will sleep alot easier. As he is in alot of pain he won't sleep as well.
HTH