Do you refer to boiled ham, cured ham, air dryed, Palma style etc.
Are you leaving the bone in the leg or taking it out?
for curing all you need is a large plastic box with lid , sea salt (refered to sometimes a kosher salt) and some demerara sugar .
If you have a plastic cake cooling rack ( dont use metal because of the salt) place it in the bottom of the box,
rub the mix of salt and sugar all over the ham and place on the cake rack, if you have removed the bone get plenty inside the cavity,
the salt will draw all the moisture from the ham and the bottom of the box will fill with the liquid,. Drain the juice off daily and turn and re-salt the ham untill no more liquid comes out, for air drying you then wrap in cheese cloth or muslin and hang it to dry.
Have a look at River cottage cook book.