Drain duck legs with a kitchen paper towel. Sprinkle them with salt and ground pepper on both sides and season with chopped garlic. Leave the meat to marinade at room temperature for about 1 hour.
Preheat the oven to 180°C. Put the legs into the oven bag and cook them for about 1.5 hours.