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

    Enable/Disable firewall rules using shell

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 3.2k 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.
    • E
      erazersan
      last edited by

      Hello,

      i would like to use the cron package for enable/disable some rules. But i cant find a command for this to wright it into the cronjob :/
      Do you have any idea?

      thanks

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Did you take a look at the schedules?
        Firewall –> Schedules
        Create a schedule entry and then use it in the firewall rule.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • E
          erazersan
          last edited by

          great! thats what i need!

          thanks

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