What I like to do with this is have two versions of hosts file and two versions of /etc/pf.conf
In one setting, I use https://gitlab.com/intr0/AppleBlock/-/blob/master/AppleBlock... in the hosts file and block the whole 17.X.X.X ip range (Apple's range) in the pf.conf
The other setting doesn't have any of these blocks
Whenever I need some apple service (e.g. updates or apple developer stuff), I run a script to toggle the blocks
The benefit of this approach is you get apple services only when you need them
What I like to do with this is have two versions of hosts file and two versions of /etc/pf.conf
In one setting, I use https://gitlab.com/intr0/AppleBlock/-/blob/master/AppleBlock... in the hosts file and block the whole 17.X.X.X ip range (Apple's range) in the pf.conf
The other setting doesn't have any of these blocks
Whenever I need some apple service (e.g. updates or apple developer stuff), I run a script to toggle the blocks
The benefit of this approach is you get apple services only when you need them