No web gui after updating 24.03
-
@johnpoz Changed from HTTPS to HTTP and the port to 80
Done an upgrade and as usual no more Webgui
It started and is doing traffice but nothing else
-
@rbron01 is there any way you could be running into the bound to interface change in states vs floating.. Your just hitting pfsense lan IP from device on your lan right..
Are you doing anything with policy routing or vpn client or ipsec connections?
-
@johnpoz I have no policy routing nor vpn/ipsec stuff.
Just plane in out traffic.
Also get a timeout when trying,
-
@rbron01 do you show your webgui even running?
[23.09.1-RELEASE][admin@sg4860.home.arpa]/root: netstat -an | grep .8443 tcp6 0 0 *.8443 *.* LISTEN tcp4 0 0 *.8443 *.* LISTEN [23.09.1-RELEASE][admin@sg4860.home.arpa]/root:
Mine listens on 8443.. Since you reset to 80 you should see it listening on 80
you should see nginx running on your port
[23.09.1-RELEASE][admin@sg4860.home.arpa]/root: sockstat | grep :8443 root nginx 23204 5 tcp4 *:8443 *:* root nginx 23204 6 tcp6 *:8443 *:* root nginx 22940 5 tcp4 *:8443 *:* root nginx 22940 6 tcp6 *:8443 *:* root nginx 22793 5 tcp4 *:8443 *:* root nginx 22793 6 tcp6 *:8443 *:* [23.09.1-RELEASE][admin@sg4860.home.arpa]/root:
-
@johnpoz
Got the same but then with port 80 -
@rbron01 you don't have the antilock out rule disabled do you and some rule that would block? Or didn't put the blockrfc/bogon on your lan interface?
When your consoled/ssh in, if you run a curl to say loopback, do you get the page?
curl http://127.0.0.1
if I tell curl to just don't care about trusting the ssl, i get this for example
[23.09.1-RELEASE][admin@sg4860.home.arpa]/root: curl --insecure https://127.0.0.1:8443 <!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/vendor/bootstrap/css/bootstrap.min.css" type="text/css"> <link rel="stylesheet" href="/css/login.css?v=1701893452" type="text/css"> <title>sg4860 - Login</title> <script type="text/javascript"> //<![CDATA{ var events = events || []; //]]> </script> <script type="text/javascript">if (top != self) {top.location.href = self.location.href;}</script><script type="text/javascript">var csrfMagicToken = "sid:28ec30f520e1d8cf9085d5f5bd6398cca1521f01,1714682436;ip:9e433f3ab86fa2f558df408437777ed99de1cad1,1714682436";var csrfMagicName = "__csrf_magic";</script><script src="/csrf/csrf-magic.js" type="text/javascript"></script></head> <body id="login" > <div id="total"> <header> <div id="headerrow"> <div class="row"> <!-- Header left logo box --> <div class="col-sm-4">
If that is working, that says hey httpd is serving up the page, but for some reason your client is not getting there, it for sure is listening for example.
-
@johnpoz
I get a page back. However when I connect direct a laptop on the port nothing happens only the timeout -
@rbron01 hmmm that really points to a problem with rules then.. If you try your IP in that curl command you still get a page right..
For grins I would change the state to floating mode vs interface binding. And you have not rules in floating, and lan rules are just the the default any any?
When you connect a laptop to the port, you get an IP right, your not doing anything with vlans were your tagging stuff. You can ping through on the laptop to the internet, you can ping your lan IP, that sort of thing.
-
When i do curl http://10.10.1.1 it comes up with the page
I do not have vlan or taggings.
No rules in floating but I have rules on LAN but these are the std blocking stuff between different networks. I have WAN, LAN and IOT.Tomorrow I will do some more testing now going to bed :)
I will role it back and make a screenshot of the LAN rules for you.
Anything else you may want to have a screenshot off?Thanks for your great help :)
-
@rbron01 said in No web gui after updating 24.03:
but I have rules on LAN but these are the std blocking stuff between different networks
Wouldn't matter if you had zero rules - as long as you didn't disable the antilock out rule you should be able to get to the gui, you didn't turn that off did you? Please post the rules on your lan.. For example here is mine.
And you have no rules in floating tab?
-
@planetinse That's exactly my case...al working.. update.. no GUI but all working hehehe
-
@rbron01 said in No web gui after updating 24.03:
I will role it back and make a screenshot of the LAN rules for you.
Ah yeah kind of hard to do a screenshot of the rules without a gui ;) doh!!
Do you have this rule?
[23.09.1-RELEASE][admin@sg4860.home.arpa]/root: cat /tmp/rules.debug | grep anti- pass in quick on igb0 proto tcp from any to (igb0) port { 8443 22 } ridentifier 10001 keep state label "anti-lockout rule" [23.09.1-RELEASE][admin@sg4860.home.arpa]/root:
This is the rule that should allow you to access the gui, it should list the ports no matter your other rules.
You can look at your rules without a gui by looking in that /tmp/rules.debug file.. I would ask you to upload the file - but you might want to walk through it before you do - because it could have your public IP in it.
-
Hi the strange thing is I have a powerline network when I plug this one from the ISP to my LAN port everything works as expected.
The powerline has WLan power and hangs as a "Dirty Internet" line.
The rule is in place.
-
@rbron01 said in No web gui after updating 24.03:
when I plug this one from the ISP to my LAN port everything works as expected.
What? Oh your sure your interfaces didn't switch? You saying when you put your internet into what you believe is the lan, it works.. That says your wan is your lan and your lan is your wan.
I would validate with say looking at the menu that the correct interfaces are assigned to what they should be assigned too.
You could do that with ifconfig, or just the pfsense menu should show you what interface is assigned to what.. So your previous wan wasn't getting dhcp either from your wan?
This is VM - yeah that can happen where the interface order changes.
-
Same thing happened. No WebUI and no DNS.
I had to revert to a backup config made right before the upgrade and reboot. WebUI and DNS came back.
-
@lohphat Are you also running on a VM?
-
@johnpoz Negative. SG-3100
-
@lohphat I would do the same sort of testing, is nginx running even can you call it up on pfsense locally via loopback and IP your trying to hit.
Not aware of your config - but some issues being run into with the new interface binding for states vs floating. You could try changing it to floating, and then figure out what your doing that interface binding isn't working.
-
J jimp moved this topic from Problems Installing or Upgrading pfSense Software on
-
Confirmed that I have the anti-lockout rule:
cat /tmp/rules.debug | grep anti-
pass in quick on mvneta1 proto tcp from any to (mvneta1) port { 443 80 } ridentifier 10001 keep state label "anti-lockout rule"
-
@johnpoz Yes. It resolves to my ISPs LiteBeam 5AC Gen2