Hi all! Im afraid i need some help but let me show you the things i am having troubles with:
Target: Run caddy to reverse proxy domain.nl, plex.domain.nl and nextcloud.domain.nl to different local servers/services.
Background: Pfsense server, ubuntu VM running the services (say 192.168.1.100). At this time i got my pfesnse forwarding port 80 and 443 to 192.168.1.100 port 81 and 444 (to keep my primary services online while i figure this out, attached to the domain.nl). I link my domain.nl to that still running service, bound to that domain only locally running on 81/444 to keep 80 and 443 open to test caddy.
Problem: Setting up Caddy using this tutorial. Error displayed on my terminal (after typing: sudo caddy -host domain.nl) :
2019/05/30 16:02:26 [INFO] [domain.nl] acme: Trying to solve TLS-ALPN-01
2019/05/30 16:02:40 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz/dB0itSeoZDtNC_LGc8CPGACfhFqN82ne3bEMhGQ4x-U
2019/05/30 16:02:40 [domain.nl] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[domain.nl] acme: error: 400 :: urn:ietf:params:acme:error:connection :: Timeout during connect (likely firewall problem), url:
What i tried so far:
- Another brand new VM of ubuntu 18 LTS; same error
- Different domain name i have
- tested openness of ports ( nc -zw3 domain.nl 80 && echo “opened” || echo “closed” aswell for 443, both showing opened).
- Double checked my domain.nl is pointed towards my external IP
How can i resolve this?! Kinda at despair at this moment. Is this because i already binded domain.nl to my nextcloud snap (which is still working now on ports 81 & 444?
Any help would be really appreciated! Thanks in advance