You can't really do it wrong when it comes to massage. Just keep in mind that the idea is to break up any mucous and allows the fluid in your ear to drain.
Massage for Clogged Ears
Massaging your ear can help keep the Eustachian tube open. Using gentle pressure, draw a line along the back of the ear and down the back of the jawbone. Gently push and release the flap of skin in front of the ear several times.
You can also massage your ears by placing the fleshy part of your palm, just belong your thumb, over your ear, and rotating the ear in all directions.
Here is another version from a someone at http://forums.naturalparenting.com.au
Hi Bethany, I just wanted to second Evesmum's advice. In a hot, steamy shower massage the sinuses on the affected side of your face (you hear and feel the fluids moving) and put your pinky finger deeply in your ear and gently 'pump' the eardrum until you feel some relief. At the same time, as you massage down your neck as Evesmum suggested, move your jaw and stretch your head/neck in all directions. You will eventually feel a release of the trapped fluids and be able to breath through your nose. Do it at repeated intervals during the day as well to ensure the fluids don't settle and trap again. I think combining this with the onion therapy will do the trick.
Hope you're feeling better!