我的网络结构如下:
ikuai做主路由:网段是 192.168.4.0/24
Lucky是ikuai上的docker安装的,IP地址是:192.168.2.2
homeassistant是在群晖(IP:192.168.4.95)上通过VMM安装的,IP是192.168.4.104
通过
http://192.168.4.104:8123可以正确访问homeassistant,
在configuration.yaml加如下配置
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- 192.168.4.0/24 # Add the IP address of the proxy server
- 192.168.2.0/24 # Add the IP address of the proxy server
但通过lucky连接连接不上,不知道该如何解决,求助大牛们帮助解决一下。