having trouble finding the exact instructions i used… but some variation of the search “hosts file modify mac china” (i use the canadian google.ca website as it’s not blocked here). be careful though, messing with terminal can be dangerous as i think you know. but i got the list of IPs that i pasted into the hosts file directly from google (they update them every few months from what i hear). it included all google services, youtube (which i can access, but the videos won’t play…), facebook, twitter, and a few others i think.
if i find the instructions i used, i’ll post.