Not all remedies are effective with all children all the time.
Massage is effective with some children when the cause is gastrointestinal sluggishness.
I strongly recommend a ten minute walk in fresh air, or take a ten minute soak in a warm tub before you begin. If you use aromatherapy, diffuse lavender or orange oil. Also, visualize your baby transitioning from a state of discomfort and upset to one of calming down, relaxation, and moving into an alert and happy state as you mentally do the massage. Now, you're ready to begin. Gently release pressure and stroke the legs to coax release.