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

    LOCKED OUT! Mod_Security Package….Problem? or just a newb....

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 2.4k 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.
    • T
      Tracerc
      last edited by

      Hello guys.. I don't know if anyone else has had this, and as per the title of my topic, maybe it's just a newb mistake…
      today I installed the package for mod_security in the 1.2.2 package list, and got locked out of Pfsense.  :-[

      "Forbidden

      You do not have access to / on this server"

      how do I allow myself access to my firewall?? ???
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • T
        Tracerc
        last edited by

        Well…. I got in... havn't looked to see if there are any package pref.s yet that I can set up and allow myself access...
        For anyone else who has problems, I used
        /usr/local/sbin/httpd -k stop
        i know, it just stopped the service, but I really had no idea how to do that from the SSH prompt.  Since I didn't know how,
        there are probably others who don't either

        1 Reply Last reply Reply Quote 0
        • R
          Roodawakening
          last edited by

          There's an option under the System–>Advanced tab that warns about lock-out. It says,

          "By default, access to the webGUI on the LAN interface is always permitted, regardless of the user-defined filter rule set. Enable this feature to control webGUI access (make sure to have a filter rule in place that allows you in, or you will lock yourself out!).
          Hint: the "set LAN IP address" option in the console menu resets this setting as well."

          Play around with the various settings under the Miscellaneous heading and I think you'll find the solution.

          "The descent to hell is easy. The gates stand open day and night. But to reclimb the slope and escape to the upper air: This is labor."
          –Virgil, Aeneid, Book 6

          Rob

          1 Reply Last reply Reply Quote 0
          • T
            Tracerc
            last edited by

            Thanks… If that works better than changing around "deny and allow" rules ill do that... probably safer too... ;D

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.