For whitetails, I use an single strand electric fence around my garden about three feet high, then about 3 feet out put another single strand of electric fence. They jump one and get into the other. Usually i have to reconstruct the fence about two-three times until they learn to leave it alone...