How to allow integrations to work while in maintenance mode?


My magento installation has integration with a ERP that uses multiple IPs to connect to it. This makes it very difficult to develop the webshop in maintenance mode. How can I let magento 2.4 in maintenance mode while also allowing ERPs to perform their needed API calls?