As a general rule, I don't use anything to clean or lube my guns which isn't sold as a gun cleaner/lubricant. It's usually not a problem for the guns as much as it might be for the ammo. If a cleaner/lube is highly penetrative, it might have a negative affect on your ammo in the long-term.
[rant] I honestly don't understand the endless search some folks perpetuate to find the "best" cleaner or "best" lube. We have 20 different products of each that work just fine, but these people gotta try this "green" cleaner, and that "orange" cleaner, and the latest high-speed/low-drag use-only-a-dab-for-20-years synthetic lube. So what if you find something "better"; what's it gonna save you, 10, 20 seconds per cleaning, at the most? I've also seen some plastic or aluminum gun parts ruined or permanently stained/marked by folks using brake cleaner or similar crap. I swear... [rant off]
Where was I?
Oh yes, cleaning solvent/lube choices. Go to your favorite gunshop, or even WalMart. Find the aisle with gun cleaning kits. Buy one. Alternative: buy whatever the military is using, or it's commercial equivalent. I use Break Free CLP on all my guns. Started using it in when I was in the service. It works fine. Not the fastest, not the bestest, not the slickest, just slightly better than average. But it also works well in extreme cold, which is important to me because of where I live.
In most cases, any light non-detergent machine oil can be used to prevent rust and lubricate a gun. My dad used sewing-machine oil for decades; never had a problem. Don't goop it up; a light coating is best, and wipe-off/reclean/relube as needed. In a damp environment, regular cleaning/relubing will be needed more often with ANY product, so it really doesn't matter WHAT you use, in my opinion.
Hope this was helpful.