Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - lmester

#1
25.7, 25.10 Series / Accessing internal web server by name
September 19, 2025, 09:08:13 PM
While attempting to upgrade to V25.7 my system was corrupted by the Intel N100 file system corruption problem.

Because of this I had to do a new install and was unable to retain my existing configuration.

I now have everything working except local access to my web server.

I have a web server running on my local network. I have port forwards so that it is accessible from the web.

I can now only access the web server mesterhome.com from an external network. Local access to mesterhome.com is now resolving the default gateway 192.168.1.1 instead of the web server local address 192.168.1.149. I know I had to do some extra configuration to allow local dns lookups to resolve the proper hostname. It's been several yeard ago when I set up OPNsense. I don't remember what was needed to be done to allow local access to the server. I've tried some tutorials here but have been unable to get them to work.

This did not work for me:

https://forum.opnsense.org/index.php?topic=6155.0

I then tried to configure a host override in unbound DNS. How do I enter the host override in the dropdown box? I tried entering mesterhome and get "No results matched mesterhome" It seems that I don't understand what should be placed in the host override box.



Can someone help me to get a host override or some other method working to have local access to my server?
#2
Hello,

I've been running the IPCop Linux based firewall for many years. Unfortunately that project has quietly died. I decided to use OPNsense as a replacement.

I have the basic configuration working. The local LAN is able to access the WAN connected through my cable modem. I'm having no luck getting port forwarding working. I have a lot of port forwarding entries in IPCop. I decided to work with the most critical one first. My web server. I can't get external access to it. Also, when I try to hit it from the LAN side I'm getting redirected to the OPNsense web GUI instead of my WWW server.

It looks like OPNsense is redirecting port 80 and 443 to it's GUI. This is even though i've added a port forward to direct this traffic to my WWW server.

When I do an nslookup while running OPNsense, I see that DNS info is being modified by OPNsense. It's pointing my hostname (mesterhome.com) to 192.168.1.1 (the OPNsense WWW GUI) instead of 192.168.1.25 (the WWW server address). See the two command prompt screen captures. One is using IPCop and the other with OPNsense.

Also attached is my OPNsense config file and screen captures of the working IPCop port forwards and the non functional OPNsense forwarding.

I must have some basic problem with my setup. I hope that someone here can help me fix what I'm doing wrong.

Looks like this forum won't allow me to attach pictures. You can view them here: https://mesterhome.com/OPNsense/