What I found that works well is to hang my pack under my hammock. I have an older Army surplus jungle hammock that has a sheath built in for a weapon as well as a loop with a snap to hang your boots. I use the snap-loop to hang my pack.
I dont carry a gun while camping, but I often carry a video camera mounted on a tripod. Fits perfectly in the sheath meant for a rifle.
Hope that helps.