Another option is using DVR software on your MacOS system, like SecuritySpy ($$), or open source like motionEye (maybe using Docker), or iSpy Agent, Shinobi, Xeoma (free and pay versions), etc. and use OpenVPN, WireGuard, ZeroTier, MeshNet, etc. to access the DVR.
Note that I've only played...