trustedhostspattern
There are 2 repositories under trustedhostspattern topic.
IchHabRecht/hosts_pattern
Set TYPO3_CONF_VARS['SYS']['trustedHostsPattern'] depending on available sys_domain records
decorJim/trusted-host
proxy app that only accepts request sent by the gatekeeper machine and filters out others and forwards requests to the proxy