one idea I can recommend is following the tutorial here https://forum.opnsense.org/index.php?topic=23339.0
and then using passwords for the subdomains in the map file, for a poor mans multi factor authentication,
i.e.
1. user
1. pass
1. subdomain
as this is all behind https and SNI is still sent in plain-text it is not really difficult to know the subdomain, but you can easily swap that out on an interval if need be. So it is more or less a plain text password sent over the internet. However, this greatly reduces the logs that need to be audited by my human eyes. Again I'd greatly prefer an automated whitelisting method with just about any other method.
and then using passwords for the subdomains in the map file, for a poor mans multi factor authentication,
i.e.
1. user
1. pass
1. subdomain
as this is all behind https and SNI is still sent in plain-text it is not really difficult to know the subdomain, but you can easily swap that out on an interval if need be. So it is more or less a plain text password sent over the internet. However, this greatly reduces the logs that need to be audited by my human eyes. Again I'd greatly prefer an automated whitelisting method with just about any other method.
"