Password Reset

Started by TannhäuserGate95, June 03, 2026, 06:45:43 PM

Previous topic - Next topic
Hi everyone, i am new here.
I got locked out of my OPNsense because i tried changing password through KeepassXC randomized password which in hindsight kinda dumb.
At first the password worked once, so i continued changing other password, then the second time i tried again, it never worked again, ever.
The OPNsense is virtualized through Proxmox.
I tried multiple ways to reset the password, but the noVNC cannot show at reboot and I tried noVNC proxy from the Proxmox console itself, but it is also password locked.
"LC_PVE_TICKET not set, VNC proxy without password is forbidden"

My config & problem:

- OPNsense 25.1.12 on Proxmox 9.1.7
- i350-T4 PCIe passthrough
- noVNC loses connection during reboot
  because OPNsense IS the gateway
- Cannot see installer menu
- Boot order set to ide2 (ISO attached)
- ISO is OPNsense-25.1-dvd-amd64.iso
- VM uses SeaBIOS, q35 machine type
- Config backup exists from March 2026

I hope that anyone can help me sort this out without doing a fresh install.
Thank you.

Single user mode as per https://docs.opnsense.org/troubleshooting/password_reset.html but you need to be able to use the console, either physical or in this case virtual. So if you can't get to it, there is no way to change it.

How can I get console access to the VM when OPNsense IS the gateway and noVNC loses connection during reboot?
Is there a way to access the VM console (OPNSense) from the Proxmox host directly without going through the network?
The problem is, i can only access OPNsense console from the Proxmox GUI through noVNC, and noVNC will not display before the "splash screen"

Quote from: TannhäuserGate95 on Today at 09:16:29 AMHow can I get console access to the VM when OPNsense IS the gateway and noVNC loses connection during reboot?
OPNsense is the gateway even for Proxmox and you have only remote access to it?
If so you have to change the configuration of Proxmox, so that you bypass OPNsense.

Quote from: TannhäuserGate95 on Today at 09:16:29 AMi can only access OPNsense console from the Proxmox GUI through noVNC, and noVNC will not display before the "splash screen"
Don't agree.
The Proxmox integrated noVNC viewer shows the whole boot process in my setup.
In the noVNC screen there is also a start button shown up, if the VM is down.