Comment on OPNSense Reverse Proxies and Giving Internal Services Domain Names?

xavier666@lemmy.umucat.day ⁨5⁩ ⁨days⁩ ago

If you don’t mind the warning “Woah, I don’t trust this website”, you don’t need to buy any domains. Just use local certificates.

Sample caddyfile that I use

#------------- general options
{
    local_certs
}
#------------- services
service.server.lan {
	reverse_proxy <INTERNAL SERVER IP>:<INTERNAL SERVER PORT>
}

However, you need to have a DNS entry which points *.server.lan to the correct server. You can now visit https://service.server.lan/ which should point correctly.

Best of luck!

original
Sort:hotnewtop