1
General Discussion / Re: Web server port forwarding problems.
« on: May 01, 2020, 03:46:57 am »Dns:
First IP shown at nslookup is the resolving DNS server.
The DHCP in your ipfire was configured to push an external DNS server to the Clients.
Your opnsense DHCP pushes itself as DNS resolver to the Clients.
In my opinion it's okay and the better choice as for example it's allowing you to resolver local hostnames.
Portforward: the destination address should be your wan address instead of LAN address.
That should so the job from the outside.
From inside you need either
- split-dns (Host overwriting in unbound): your local DNS resolver gives back the local IP of your webserver
or enable NAT Reflection:
https://docs.opnsense.org/manual/nat.html
Turning on NAT reflection and correcting the port forwarding solved the problems. Everything is working now. Thank you for your help!