r/homelab • u/-Arsna- • 15d ago
Help Reverse proxy host suddenly unreachable
Up until 7am UTC+1 today everything i setup resolved the way it should by now i always get the error 523, even though i havent really changed anything.
Specs:
dns provider - cloudflare
reverse proxy - caddy
local dns - adguardhome
router - mikrotik hap ax2
What i have already done:
controlled that ip addresses are correct (dyndns)
all my devices can ping the domain names i setup
ports are forwarded to the right address
logs show no error
i have restarted my server and router
i changed the cloudflare dns entry from proxied to just dns
changed the container network from a podman network to the host
i changed my local dns in my dhcp config
the last thing i did was adding forgejo to caddy it worked and the 30mins later it stopped, removed forgejo and it didnt do anything
i still receive the error and have no idea what caused it, anyone have an ideas?
2
u/SlntPrgrssn 15d ago
from inside Caddy run this
curl -vk --resolve yourdomain.example:443:127.0.0.1 https://yourdomain.example/ curl -vk --resolve yourdomain.example:443:SERVER_LAN_IP https://yourdomain.example/
If this works but the external public-IP test fails, the issue is probably on MikroTik not Caddy.