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

    Remove/disable rule in CLI based on rule #

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 238 Views 1 Watching
    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.
    • W Offline
      WANg
      last edited by

      Folks, Quick question:

      What's the command line syntax to disable/delete a filtering rule based on the rule number?

      I have a rule (rule 62, at least what's what it says inside ptctl -vvsr) inside the ruleset that is blocking access to the Web UI (located at 192.168.0.38) due to some odd filtering rule that drops/logs everything going into 192.168.0.0 within the network interface - AFAIK the switchport is set to trunking with the VLAN for that 192.168.0.0/24 network included, and prior to a reboot the switchport works just fine. Is it possible to disable that rule using pfctl?

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