To allow a program through Avast Firewall on MacBook, go to Avast, navigate to the "Firewall" tab, click on the "Programs" tab, find the program, select it, click the "Edit" button, select "Allow" for the "Firewall status" option, and click "OK" to save changes.