main office/domain with a local SQL server on the domain, users connect using ODBC connection w/ windows auth 2nd company/domain at a remote location, people vpn (windows pptp) to access file shares ...
You can create a free VPN service using software-based services like WireGuard. You can install it on your Mac or Windows device and connect other devices to it ...