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

    Dynamic firewall rules

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 2 Posters 2.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.
    • T
      tomms
      last edited by

      Hi every body!
      I am new in this forum. I have an urgent problem. Before I used RED HAT as my firewall but now I'm trying Pfsense because it seems me the best. In my company, the rules which apply to all services change every time. I explain: for example at 12h-14h, the FTP service is enable but at 14h-18h, it's disable.
      When I used Redhat, I put the rules in a script and run it through a crontab.
      Is it possible to do that using pfsense? If it is, in what way?
      If you have a another solution please tell me.

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

        Look at schedules.
        You can assign a schedule to every 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
        • T
          tomms
          last edited by

          Thanks for your response. I'm going to try it!

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

            I found that a schedule is for the current rules.
            you said:```
            You can assign a schedule to every rule.

            It means that I should re-create other rules (rules B) for another schedule ( schedule B)?
            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              You can assign the same schedule to multiple rules. (10 rules using 1 schedule).

              Or you can create multiple rules using different schedules, but each rule only one schedule (10 rules, using 10 schedules, each rule a different one)

              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
              • T
                tomms
                last edited by

                thank you GruensFroeschli. I understand now, I'll try it and I'll see if it works or not.

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