Hey Guys. On my pfsense 2.8.0 I setup Wireguard connection with my laptop. The connection is full tunnel and works with no problem. I have some services (portainer, apache guacamole etc) behind nginx proxy manager. The SSL certificates come from local CA I created in pfsense. The CA Cert is imported in my laptop. So, when I access the services locally from LAN I can access them with the domain names I assigned through npm. But when the laptop is connected through Wireguard I can only access the services through the http://IP:PORT . The host overrides are set on the DNS Resolver. On the laptop’s .conf file the DNS SERVER is set on the servers IP. Can anyone help?
Not sure what you mean by you set the dns server to the servers.
In the peers .conf file there are two sections. One is the interface where you put the private key of the laptop, the IP address etc. There you can set a DNS SERVER IP. I set the WG servers IP there as the DNS ADDRESS
Sounds good. Check the rules and the interfaces in Unbound if it is still not working.
Also you can set the domain name next to the DNS-IP in the WireGuard config.
Thank you for the answer. I tried it but unfortunately it didn’t work