# Plus de connection depuis l'extérieur depuis MAJ 2022.11.1

**URL:** <https://forum.hacf.fr/t/plus-de-connection-depuis-lexterieur-depuis-maj-2022-11-1/17058>\
**Category:** Entraide Home Assistant\
**Created:** [Novembre 4, 2022, 5:36 UTC](https://forum.hacf.fr/t/plus-de-connection-depuis-lexterieur-depuis-maj-2022-11-1/17058 "2022-11-04T17:36:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bubule](https://forum.hacf.fr/user_avatar/forum.hacf.fr/bubule/32/2817_2.png) [@Bubule](https://forum.hacf.fr/u/Bubule)\
**Post date:** [Novembre 4, 2022, 5:36 UTC](https://forum.hacf.fr/t/plus-de-connection-depuis-lexterieur-depuis-maj-2022-11-1/17058/1 "2022-11-04T17:36:34Z")

</div>

Bonjour,

Suite à la dernière mise à jour, je n’arrive plus à me connecter de l’extérieur.  
La dernière version fonctionnelle datait d’octobre.

Dans les logs, voici les messages d’erreur.

```auto
2022-11-04 16:52:38.493 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 16:52:38.610 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:08:14.229 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:08:14.360 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:08:14.439 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:08:14.529 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:22:54.829 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:22:54.834 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:22:54.839 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:22:54.844 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:22:54.848 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:57:57.015 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5
2022-11-04 17:57:58.061 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.5

```

Tout semble ok du coté de l’addon Nginx PM  
Je ne vois aucun sujet similaire. Serais-je le seul ?  
Qu’est-ce que je peux faire ?

## Ma configuration

| version | core-2022.11.1 |
| --- | --- |
| installation\_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| user | root |
| virtualenv | false |
| python\_version | 3.10.7 |
| os\_name | Linux |
| os\_version | 5.15.61-v8 |
| arch | aarch64 |
| timezone | Europe/Paris |
| config\_dir | /config |

> **Home Assistant Community Store**
>
> | GitHub API | ok |
> | --- | --- |
> | GitHub Content | ok |
> | GitHub Web | ok |
> | GitHub API Calls Remaining | 5000 |
> | Installed Version | 1.27.2 |
> | Stage | running |
> | Available Repositories | 1130 |
> | Downloaded Repositories | 8 |

> **Home Assistant Cloud**
>
> | logged\_in | false |
> | --- | --- |
> | can\_reach\_cert\_server | ok |
> | can\_reach\_cloud\_auth | ok |
> | can\_reach\_cloud | ok |

> **Home Assistant Supervisor**
>
> | host\_os | Home Assistant OS 9.3 |
> | --- | --- |
> | update\_channel | stable |
> | supervisor\_version | supervisor-2022.10.2 |
> | agent\_version | 1.4.1 |
> | docker\_version | 20.10.18 |
> | disk\_total | 109.3 GB |
> | disk\_used | 8.6 GB |
> | healthy | true |
> | supported | true |
> | board | rpi4-64 |
> | supervisor\_api | ok |
> | version\_api | ok |
> | installed\_addons | Samba share (10.0.0), File editor (5.4.1), Terminal & SSH (9.6.1), RPi Temp Monitor (0.4), MariaDB (2.5.1), Nginx Proxy Manager (0.12.2), Network UPS Tools (0.11.0) |

> **Dashboards**
>
> | dashboards | 2 |
> | --- | --- |
> | resources | 4 |
> | views | 25 |
> | mode | storage |

> **Recorder**
>
> | oldest\_recorder\_run | 3 novembre 2022 à 17:50 |
> | --- | --- |
> | current\_recorder\_run | 3 novembre 2022 à 21:07 |
> | estimated\_db\_size | 667.71 MiB |
> | database\_engine | sqlite |
> | database\_version | 3.38.5 |

[/center]
* * *

---

<div class="post-metadata">

**Author:** ![ClassicRed](https://forum.hacf.fr/user_avatar/forum.hacf.fr/classicred/32/27071_2.png) [@ClassicRed](https://forum.hacf.fr/u/ClassicRed)\
**Post date:** [Novembre 4, 2022, 5:41 UTC](https://forum.hacf.fr/t/plus-de-connection-depuis-lexterieur-depuis-maj-2022-11-1/17058/2 "2022-11-04T17:41:35Z")

</div>

> [@Bubule](#):
>
> `Received X-Forwarded-For header from an untrusted proxy 172.30.33.5`

Hello  
Essai ceci, et reboot ton HA

> http:  
> ip\_ban\_enabled: false  
> login\_attempts\_threshold: 15  
> use\_x\_forwarded\_for: true  
> trusted\_proxies:  
> - 172.30.33.0/24

---

<div class="post-metadata">

**Author:** ![Bubule](https://forum.hacf.fr/user_avatar/forum.hacf.fr/bubule/32/2817_2.png) [@Bubule](https://forum.hacf.fr/u/Bubule)\
**Post date:** [Novembre 4, 2022, 6:01 UTC](https://forum.hacf.fr/t/plus-de-connection-depuis-lexterieur-depuis-maj-2022-11-1/17058/3 "2022-11-04T18:01:34Z")

</div>

> [@ClassicRed](#):
>
> http:  
> ip\_ban\_enabled: false  
> login\_attempts\_threshold: 15  
> use\_x\_forwarded\_for: true  
> trusted\_proxies:
> 
> - 172.30.33.0/24

Je viens de tester en ajoutant l’IP que tu m’as donné (j’avais un partiel dans le fichier config)

```auto
http: 
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.4
    - 172.30.33.0/24        

```

Au redémarrage, Impeccable ! C’est reparti ! Top !

Merci ClassicRed

Franck

---

<div class="post-metadata">

**Author:** ![Bubule](https://forum.hacf.fr/user_avatar/forum.hacf.fr/bubule/32/2817_2.png) [@Bubule](https://forum.hacf.fr/u/Bubule)\
**Post date:** [Novembre 4, 2022, 6:02 UTC](https://forum.hacf.fr/t/plus-de-connection-depuis-lexterieur-depuis-maj-2022-11-1/17058/4 "2022-11-04T18:02:46Z")

</div>

Penses-tu que j’ai intérêt à ajouter les lignes manquantes :

```auto
ip_ban_enabled: false
login_attempts_threshold: 15

```

---

<div class="post-metadata">

**Author:** ![ClassicRed](https://forum.hacf.fr/user_avatar/forum.hacf.fr/classicred/32/27071_2.png) [@ClassicRed](https://forum.hacf.fr/u/ClassicRed)\
**Post date:** [Novembre 4, 2022, 7:03 UTC](https://forum.hacf.fr/t/plus-de-connection-depuis-lexterieur-depuis-maj-2022-11-1/17058/5 "2022-11-04T19:03:18Z")

</div>

Re

de rien 😀

Les deux lignes tu peux les viré .

False = Désactivé | True = Activé  
Login = nombre de fois a essayé de ce connecté avant d’être banni ( 15 ) mais par défaut c’est 5

A toi de voir pour les gardé ou les virés
