The way you do it is by figuring out a hobby you like and joining a group for it.
There are groups that just go around hiking. If you're at all active, any sport you do will have a free community that comes with it (even if it's going to the gym and lifting weights, or walking).
If you have any skills, there's a community for that. If you want to learn a skill, start learning on your own and join the community for it.
There are very few hobbies that won't have a social club for them in a mid-sized city.
"But I don't live in a city" listen, I can appreciate the struggle but that's a whole different issue. If you're in a place where there isn't enough people that share your interests you are indeed screwed, but you would have been screwed in 1960 as well, it's not an internet thing. Best advice is to move or learn to love whatever weird shit your tiny community is into.