Can't access WebUI

Started by ika888, March 15, 2025, 04:13:06 PM

Previous topic - Next topic
Opnsense Firmware: Version 24.7.1

Hi everyone, I set up everything in opnsense (firewall rules, DNS, DHCP, etc) and it was working fine, then all of a sudden my web ui is inaccessible, when I plug in a display into the router and log in, instead of displaying the server ip and opnsense menu it just takes me to a shell where I can type commands.

I have a cisco switch connected the the opnsense box, and I'm able to access it's IP (192.168.1.2), but can't access opnsense.

I disabled root user and added a user with admin perms that I was using to access the webUI and it was working.

My default opnsense IP was 192.168.1.1, the IP on my PC is 192.168.1.101 with the default gateway being 192.168.1.1 but I just get a message saying :

"This site can't be reached
192.168.1.1 took too long to respond."

I typed "ifconfig |less" and it shows the correct IP on the LAN port (attached pic)

I really don't want to factory reset the router if possible, took me a LOT of time to set everything up properly and get it working (it's my first time), but I can't get to the webUI to change any settings.

When setting up I mostly used this guide : https://homenetworkguy.com/how-to/set-up-a-fully-functioning-home-network-using-opnsense/ , with a couple of tweaks of my own.

I've tried:
Restarting my router
Plugging ethernet into the Lan port on my protectli and the other end on my laptop
Pluggin my laptop into the switch connected to the router
Using a different laptop
Using a different browser
Checking IP through the shell of the box

Well it just started workin outta nowhere, I went into the shell, typed ps ax |grep lighty to check the webui process, and after that I tried accessing the webui again, and it's up. EXTREMELY weird, hopefully it doesn't happena again.

Posting for anyone in the future who's having this issue. It seems the issue was that I was using https://192.168.1.1/#/adv/home instead of http://192.168.1.1/. That might've caused it.