Ich habe das o.g. Add-on und Cloudflare nach Anleitung konfiguriert.
Trotzdem bekomme ich beim Seitenaufruf ein "400: Bad Request"
Meine Netzwerk:
HA als VM auf Proxmox mit der ip xxxxxx.80
NGNIX Server mit der IP xxxxxxx.200
Pi-Hole mit der IP xxxxxx.122
Dieser ist auch als lokaler DNS-Server in der Fritz!Box eingetragen.
Das Protokoll des Add-on sieht wie folgt aus:
Die yaml ist natürlich angepasst.
Trotzdem bekomme ich beim Seitenaufruf ein "400: Bad Request"
Meine Netzwerk:
HA als VM auf Proxmox mit der ip xxxxxx.80
NGNIX Server mit der IP xxxxxxx.200
Pi-Hole mit der IP xxxxxx.122
Dieser ist auch als lokaler DNS-Server in der Fritz!Box eingetragen.
Das Protokoll des Add-on sieht wie folgt aus:
Der Tunnel selbst wird mit HEALTHY angezeigt.-----------------------------------------------------------
[07:14:25] INFO: Using Cloudflare Remote Management Tunnel
[07:14:25] INFO: All add-on configuration options except tunnel_token will be ignored.
[07:14:25] INFO: Connecting Cloudflare Tunnel...
2024-05-08T05:14:25Z INF Starting tunnel tunnelID=cc53f4e5-bfba-4b95-a5f0-237a8bb26952
2024-05-08T05:14:25Z INF Version 2024.4.1
2024-05-08T05:14:25Z INF GOOS: linux, GOVersion: go1.21.5, GoArch: amd64
2024-05-08T05:14:25Z INF Settings: map[metrics:0.0.0.0:36500 no-autoupdate:true token:*****]
2024-05-08T05:14:25Z INF Generated Connector ID: ebc9d5b4-bb98-4c54-8c46-9eb573879888
2024-05-08T05:14:26Z INF Initial protocol quic
2024-05-08T05:14:26Z INF ICMP proxy will use 172.30.33.4 as source for IPv4
2024-05-08T05:14:26Z INF ICMP proxy will use :: as source for IPv6
2024-05-08T05:14:26Z INF Starting metrics server on [::]:36500/metrics
2024-05-08T05:14:26Z INF Registered tunnel connection connIndex=0 connection=6b0f254f-4f35-4234-b953-50c6b981e52b event=0 ip=198.41.200.73 location=fra07 protocol=quic
2024-05-08T05:14:26Z INF Registered tunnel connection connIndex=1 connection=0942d261-d443-4c1e-9086-d55d9b7d837f event=0 ip=198.41.192.7 location=txl01 protocol=quic
2024-05-08T05:14:26Z INF Updated to new configuration config="{\"ingress\":[{\"hostname\":\"ha.domain.de\", \"service\":\"http://192.168.178.80:8123"}, {\"service\":\"http_status:404\"}], \"warp-routing\":{\"enabled\":false}}" version=1
2024-05-08T05:14:28Z INF Registered tunnel connection connIndex=2 connection=1a16e5be-6a8e-44fc-a810-79ed0c4d5970 event=0 ip=198.41.192.27 location=txl01 protocol=quic
2024-05-08T05:14:28Z INF Registered tunnel connection connIndex=3 connection=38e94cc9-a0a8-41b5-b29a-5be334ecddc9 event=0 ip=198.41.200.33 location=fra12 protocol=quic
Die yaml ist natürlich angepasst.
YAML:
http:
cors_allowed_origins:
- https://google.com
- https://www.home-assistant.io
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
Zuletzt bearbeitet: