Hi,
After upgrading from 2021.03 to 2021.10.05, I’ve been having issues with logging in to Home Assistant using trusted networks.
I’ve followed suggestions from below topics, but to no avail.
- Nginx: Logging in to Home with Truster Networks… login aborted. Your computer is not allowed: - Home Assistant OS - Home Assistant Community (home-assistant.io)
- Can’t bypass login. Shown “Login aborted: Your computer is not allowed” - Configuration - Home Assistant Community (home-assistant.io)
You can find my configuration below:
http
ip_ban_enabled: False
login_attempts_threshold: 10
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- 192.168.10.xxx # gateway
- 192.168.10.xxx # proxy
- xxx.xxx.xxx.xxx # external IP (dynamic)
auth
- type: trusted_networks
allow_bypass_login: true
trusted_networks:
- 127.0.0.1
- 192.168.10.0/24
- xxx.xxx.xxx.xxx # external IP (dynamic)
- type: homeassistant
nginx
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8123;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}