Now the bad news: getting there takes a lot of work - most of it unrelated to technology - and requires a certain personality. You need to get out there and network till your ears bleed, get good at sales and marketing, manage the stress of not having a W2 salary and health insurance, learn how to bill clients and convince them to actually pay, maintain relationships with current and past coworkers, and a hundred other yaks you have to shave. It's death by a thousand cuts but if this lifestyle fits your personality, you can achieve a very interesting and varied career.
If you spend your college years and summers building out that network, you can even start this process shortly after graduation but it is very risky. Depending on how the job market looks in a couple years, it might even be the optimal thing to do (it's what I did after the 2008 GFC), but this is not a path for the feint of heart. It is hard and much more stressful than collecting a paycheck. I was personally relieved to get a FTE position after years of consulting.