Referrals, and some gigs found me after I wrote some technical articles. I have not done any cold calling and I have not used any freelancer sites. If you're good then it's a bad idea to participate in a lemons market. It's much better to start from a position where you don't have to convince your client that you are capable of delivering value.