I have used this recipe for indoor insects:
Kitchen insect spray. This all-purpose insect spray was developed by the editors of Organic Gardening magazine and came to me by way of Rodale's Organic Gardener's Handbook of Natural Insect and Disease Control. To make a batch, combine 1 garlic bulb, 1 small onion, and 1 teaspoon of cayenne pepper in a food processor or blender and process into a paste. Mix into 1 quart of water and steep for 1 hour. Strain through a cheesecloth and add 1 tablespoon of liquid dish soap. Mix well. The mixture can be stored for up to 1 week in the refrigerator.