UniFi, Let's Encrypt, pfsense and Ubuntu Server 20.04

Ok I got the server up and running with this script Tom thanks once again,but I’m having a problem I think with pfsense NAT and firewall rules I believe because my domain name isn’t resolving, I’ve made sure the A record is point to WAN, I;m suspecting it’s the opening of ports 80 and 443, I’ve never port forwarded before in pfsense. Don’t laugh.:wink:

and the firewall rules here.