Not all dogs will be as adverse to citrus as they are to other smells, but the strong smell of lemons and oranges may be a natural, safe way to keep them away from unwanted areas.
It smells fresh and clean to humans.
You can fill a spray bottle with the juice as well.