WebGUI redirect
-
Hello guys,
Can someone explain this to me as I don't understand it
-
@markdudov https://docs.netgate.com/pfsense/en/latest/config/advanced-admin.html#webgui-redirect
-
I read this but still can't figure it out
-
@markdudov When it's unchecked and you go to http://pfsenseip, it will redirect it to https://pfsenseip.
With it checked and you go to http://pfsenseip it will not redirect to correct port. -
Explained like this it is much more understandable. I just don't understand the last part. what does it mean: "It will not redirect to the correct port"?
-
@markdudov said in WebGUI redirect:
Explained like this it is much more understandable. I just don't understand the last part. what does it mean: "It will not redirect to the correct port"?
Assume your web interface uses 443 for HTTPS. Your enter https://pfsenseip and it loads up and your browser communicates with pfsense's 443 port.
"It will not redirect to the correct port" means when you enter http://pfsenseip (without the s), your browser would communicate with pfsense's 80 port and won't try to redirect to port 443. When your web configurator protocol is using HTTPS, navigating to http://pfsenseip would just get stuck there because port 80 isn't open to incoming requests.
-
But also if you have set the webgui to run on a different port, say 43434, it will redirect to that.
http://pfsenseip => https://pfsenseip:43434