Hi, I’m getting problem with remote access configuration.
I read a lot of tutorial from Youtube but I wasn’t able to activate remote access to HA.
I set port mapping to my HA (installed on Rpy 3):
I created a domain on DuckDNS
Installed DuckDNS extension on my HA:
domain:
- midm.duckdns.org
token: XXXXXXX
aliases: []
lets_encrypt:
accept_term: true
algo: secp384rl
certfile: fullchain.pem
keyfile: privkey.pem
seconds: 300
I launched the DuckDNS service and checked the log for successfully procedure. fullchain and privkey are correctly created.
I installed NGINX component of HA
domain: midm.duckdns.org
hsts: max-age=315360000; includeSubDomains
certificate: fullchain.pem
keyfile: privkey.pem
cloudflare: false
customize:
active: false
default: nginx_proxy_default*.conf
servers: nginx_proxy/*.conf
Also set ports 443 and 80
Last I insert into configuration.yalm the followed:
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.10 #local ip of my Rpi3 with installed HA
- 127.0.0.1
After restart HA, I’m able to connect it locally (using IP address with 8123 port) but from outside of my lan I cannot reach my HA (using midm.dockdns.org… I tried with 80 and 443 but it doesn’t work).
May you help me to resolve my issue?
thank you guys.