I have quite a restrictive firewall. Like an old school one: accept the necessary, drop the rest.
Found my Mac unusable in these conditions. It always tries to phone home unsuccessfully, so freezes. Then freezes again.
It has the offline mode but it has no firewalled mode unfortunately. Once the cable is inserted it keeps trying.