I don't have a static IP, so I had to do it by a roundabout route. First I set up dynamic DNS at mydomain.duckdns.org and configured pfsense to update it, then I CNAMED lan.mydomain.com to it. I used the ACME package on pfsense to grab a wildcard cert for *.lan.mydomain.com, set up local DNS records in pfsense's resolver for the various services and proxied them in pfsense's HAProxy package.
this post was submitted on 02 Nov 2023
1 points (100.0% liked)
Homelab
371 readers
3 users here now
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community
founded 1 year ago
MODERATORS
Check wildcard certificates via Let's Encrypt.
https://community.letsencrypt.org/t/acme-v2-production-environment-wildcards/55578
Caddy or traefik or swag do this. These act as reverse proxies.
https://www.reddit.com/r/homelab/s/CJgidijPD6 Or just caddy and stuff, although it doesn't work for me
Wildcard certificates and HAProxy on pfSense is how I do it.