Install a cog, or even an entire cassette, use a chain whip to hold the hub down and keep the freehub from rotating, then remove the freehub using your allen wrench. Should work on Shimano freehubs, perhaps not others...
__________________
Hard at work in the Secret Underground Laboratory...