Hi,
I have running it with old Win7 PC, but it should work on macosx to mac fine aswell:
1. Midi Network Setup at your mac gives you possibility to connect MIDI over LAN. For Win use rtp MIDI.
2. For Audio Connections I thing there is a native support from mac. However I use Sonobus: https://sonobus.net/
Nothing more to say from my side. Thats it! Happy producing!
Cheers!