Ip Ban - Geo Blocking

Hello,

For a few days now I have had a lot of connection attempts on HA.
They all come from American ip (AWS).
Is it possible to block the ip of a country from the YAML file?

Thank you

I also want to geoblock on my ha instance

AWS is really hard to block.
It is several hundreds IPs spread out over the entire world.
You can download the list here, but be aware that you have to check regular for updates and take actions on those.
https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html#aws-ip-download

1 Like