I’ve recently switched ISP from BT to a local fibre provider and have spent the last few days banging my head against a wall trying to reconfigure duckdns and nginx on a pi4 with haOS to get remote access.
My issue is that the mydomain.duckdns.org goes to the router login page, and with mydomain.duckdns.org:8123 does not connect to anything.
I have confirmed that my new ISP provides a static IP, so not hidden by cgnat. They also confirmed that port forwarding is not blocked, double checked my router settings and said it ‘should’ work.
My duckdns ip has been updated.
I’ve got port 443 → 443 on my router, confirmed as open from Open Port Check Tool.
I’ve tried a fresh install on another pi3 (current setup is pi4) with same result.
Before I give up, I was just curious if anyone could offer any suggestions? I’ve spent a few days trawling through forums and reddit, trying various tweaks with no joy.
duckdns config and log:
domains:
- mydomain.duckdns.org
token: my token
aliases:
lets_encrypt:
accept_terms: true
algo: secp384r1
certfile: fullchain.pem
keyfile: privkey.pem
seconds: 300
NOCHANGE
[08:53:40] INFO: Renew certificate for domains: mydomain.duckdns.org and aliases:
INFO: Using main config file /data/workdir/config
Processing mydomain.duckdns.org
- Checking domain name(s) of existing cert… unchanged.
- Checking expire date of existing cert…
- Valid till May 7 18:57:08 2024 GMT (Longer than 30 days). Skipping renew!
[08:58:51] INFO: OK
public ip
nginx config/log
domain: mydomain.duckdns.org
hsts: max-age=31536000; includeSubDomains
certfile: fullchain.pem
keyfile: privkey.pem
cloudflare: false
customize:
active: true
default: nginx_proxy_default*.conf
servers: nginx_proxy/*.conf
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service crond: starting
s6-rc: info: service crond successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[09:28:12] INFO: Running nginx…
config.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
- 192.168.1.167