From personal and professional networks. Work at BigCo or Startup or wherever for a while, make connections with real people, don't sabotage your reputation with shoddy work or burned bridges, then transition to contract work for the people you know, advertise yourself so you can freelance work from people you don't, self-incorporate/brand yourself/etc. It can't be done overnight, but very little worth doing can.