pfSense change the URL
-
When I type in a URL that refers to a domain on my local server, the url changes.
For example:
http://my-domain.tld
becomes
https://my-domain.tld:8443
8443 is the port I use on an external server with Plesk.
Plesk is not installed on my local server.This only happens with PCs in the local network and which receive the IP from pfSense.
If I type the URL from a smartphone or a PC on another network (to take the test I even took control of a PC in another city) the address is not resolved, but at least the http doesn't change to https and 8443 is not added.I changed PC, changed browser, cleared browser caches, typed the Windows command ipconfig /flushdns and in pfSense I restarted the DNS resolver service (in Status/Services).
But there is something that still bothers me, but I don't understand what. -
It's probably something browser side correcting it.
The only redirect pfSense applies like that is for the webgui itself. If that is running on 8443 as https you will be redirected to it from http.
That host would have to resolve to some IP on the firewall if so.
Steve
-
@stephenw10
As I wrote, I too had the doubt that there was something in the browser.
For this, in order- I cleaned the browser
- I did a DNS flush in Windows
- I have installed other browsers (Opera & Firefox).
Seeing as none of this worked, I went to another PC that I have never used on before and the problem returned to this one as well.
The only thing in common is pfSense.
My PC is connected to a switch on which are also connected the pfSense LAN network card and an Access Point.
The second PC used this Access Point -
Ok, so does the URL you're using resolve to an IP on pfSense?
Is the pfSense webgui running on port 8443?
If so that's expected if you have not set 'Disable webConfigurator redirect rule' in Sys > Adv > Admin Access.
Steve
-
@stephenw10
8443 is the port on a VPS with Plesk
There is nothing on my network that uses this port, and I certainly haven't configured pfSense to use it.
This seems like one of those things that only waste a lot of time.
There are some caches out there that sooner or later will be emptied, but until that day I can't do anything. -
Well something is redirecting it, probably on Plesk server is that URL resolves to it.
What does the URL resolve to?
Nothing pfSense can do about that.
Steve
-
@stephenw10
If I call the URL from another PC on another network in another city, the problem is not there.
And it doesn't even exist if I call the URL from a smartphone.
I only have it from multiple PCs in THIS network, under pfSense.
So that's something here in this office. I don't know where, but it's here.
OK, I close the thread.
I try to reinstall everything.