There are two things we have done in our rural backyard to keep our chickens safe and keep the preditors at bay. (And we have seen a fox a few times around our coop.)
#1. We put a scarecrow infront of the coop
#2. We have the dogs go to the bathroom all around the coop (but not where we walk) to...