• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Locked myself out of WebGUI

Scheduled Pinned Locked Moved Firewalling
4 Posts 3 Posters 706 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    SixXxShooTeR
    last edited by Feb 1, 2015, 7:03 AM Feb 1, 2015, 6:58 AM

    I made an idiotic mistake and blocked private networks on the LAN interface instead of WAN and now I can't use any of my wifi or wired devices (can't access the webGUI) to fix the setting and unblock the private networks. What's the easiest way to correct this? Reset factory defaults? Restore recent configuration? Currently have my monitor plugged into the router trying to figure out best course of action

    1 Reply Last reply Reply Quote 0
    • D
      Derelict LAYER 8 Netgate
      last edited by Feb 1, 2015, 7:08 AM Feb 1, 2015, 7:05 AM

      Oops.
      ~~ls -ltr /conf/backup

      cp /conf/backup/most_recent /conf/config.xml

      shutdown -r now

      That'll probably fix it.~~

      All that is just the shell way of restoring recent backup.  Use that instead.  It tells you want the config change was when you list backups.

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      1 Reply Last reply Reply Quote 0
      • S
        SixXxShooTeR
        last edited by Feb 1, 2015, 7:25 AM

        Thank you, that worked! Up and running again :)

        1 Reply Last reply Reply Quote 0
        • P
          Paul47
          last edited by Feb 5, 2015, 10:11 PM

          FYI, Assuming you disabled the anti-lockout rule, causing your lockout, the book gives a simple way to re-enable it:

          "use the set LAN IP option at the console menu. Just set it to its current IP, and the rule will be automatically re-enabled."

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received