Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Locked out! - deactivated all LAN ports, only WAN open
« previous
next »
Print
Pages: [
1
]
Author
Topic: Locked out! - deactivated all LAN ports, only WAN open (Read 1884 times)
Totalnoob
Newbie
Posts: 3
Karma: 0
Locked out! - deactivated all LAN ports, only WAN open
«
on:
July 25, 2022, 01:36:04 pm »
Hi all, new to OPNSENSE.
I had a working fine setup with a DEC2750 when I accidentally turned off the LAN interface (the only one) trying to switch it to another physical port on the firewall. It logged me out as I was connected via that interface.
Now I only have WAN interface as assigned port and have no way of logging into OPNsense. I tried serial via the guide however, command can’t find the directory to screen it. I’m not sure if it was even set up.
How can I log back in to assign a interface or even factory reset (doesn’t seem to be a button on the firewall).
TIA
Logged
Totalnoob
Newbie
Posts: 3
Karma: 0
Re: Locked out! - deactivated all LAN ports, only WAN open
«
Reply #1 on:
July 26, 2022, 02:57:11 pm »
I was able to log in to serial with PUTTY but shows no options. If I type “sudo ifconfig igb0 up” it doesn’t change, i still can’t access web gui.
Any assistance to enable LAN interface or reset to factory greatly appreciated.
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: Locked out! - deactivated all LAN ports, only WAN open
«
Reply #2 on:
July 26, 2022, 03:00:33 pm »
if the box has got an active network connection, i.e. you can ping systems via WAN, you can disable the firewall and should be able to access the UI via WAN:
pfctl -d
HTH, be careful,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
yourfriendarmando
Full Member
Posts: 103
Karma: 8
Re: Locked out! - deactivated all LAN ports, only WAN open
«
Reply #3 on:
July 27, 2022, 06:03:07 am »
Can you access the opn shell via the root or an account with wheel/sudo rights?
/usr/local/sbin/opnsense-shell
From there you can reenable the interfaces, load a backup config, or factory reset.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Locked out! - deactivated all LAN ports, only WAN open