Here are ports that need to be opened if hosting a master server at home behind a router:
27900 (appears to be used by both game hosting and MS hosting)
27920
28910
29910
27900 (appears to be used by both game hosting and MS hosting)
27920
28910
29910