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

    Locked myself out of WebGUI

    Firewalling
    3
    4
    698
    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

      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
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        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

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

          1 Reply Last reply Reply Quote 0
          • P
            Paul47
            last edited by

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.