White list when using automatic ip banning

Hi,
Is it possible to create a white list for specific ip addresses and/or subnets when using the automatic ip banning function?
I don’t know why but my own WAN ip gets blocked about every other day. I know it is triggered by my own phone because the ban is sometimes created when I try to access the HA page.
So a white list configuration would help a lot.

1 Like

Check out trusted networks.

Thanks, that would be a helpful configuration item to overcome the main issue.

beware to keep the homeassistant provider while you add the trusted_networks configuration :wink:

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.0.0/24
        - 127.0.0.1
      allow_bypass_login: true
    - type: homeassistant
2 Likes

Hey, this has started to happen for me as well. Usually when I’m using HA I get blocked at the same time. Did you find the root cause of it? Or a good solution (I don’t want to use trusted networks because I want password to be used everywhere).