@rabcyr It's not supported by the master branch on Mastodon but I have some custom commits I've pushed up to https://github.com/vahnj/mastodon where you can see the whitelist functionality.
There's no UI behind it at all, but it's as straightforward as a configuration setting with a restart, then just start executing a WhitelistDomainService call in the rails command line.