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

Easyrule not working with pfsense+ via command line.

Scheduled Pinned Locked Moved Firewalling
6 Posts 3 Posters 992 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.
  • S
    siddharth_yadav
    last edited by Dec 22, 2021, 5:58 PM

    I am trying to add some firewall rules via command line on the pfsense+ router but couldn't make it work.
    When I ssh to the machine and check for the easyrule tool in the terminal, it does nothing. It somehow works in the pfsense but not in pfsense+.
    Is there something I am missing? or pfsense+ doesn't support this functionality?

    Getting nothing on the terminal when try to use the easyrule command.
    firewall_issue.png

    Getting the easyrule thing on the UI (Hover message coming over the cursor).
    firewall_issue_2.png

    J 1 Reply Last reply Dec 22, 2021, 6:18 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @siddharth_yadav
      last edited by Dec 22, 2021, 6:18 PM

      @siddharth_yadav I would say this is the problem

      https://redmine.pfsense.org/issues/12151

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      S 1 Reply Last reply Dec 22, 2021, 7:29 PM Reply Quote 0
      • S
        siddharth_yadav @johnpoz
        last edited by Dec 22, 2021, 7:29 PM

        @johnpoz Hello John, thanks for giving the link. Should I consider upgrading my pfsense+ version or do I need to update the files manually?

        J 1 Reply Last reply Dec 22, 2021, 7:31 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @siddharth_yadav
          last edited by johnpoz Dec 22, 2021, 7:31 PM Dec 22, 2021, 7:31 PM

          @siddharth_yadav its looks like the target is 22.01, so you could wait for that to come out - or you could prob run the dev version. Or didn't look into a lot of detail if you could just apply the patch from that redmine.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          S 1 Reply Last reply Dec 23, 2021, 10:11 AM Reply Quote 0
          • S
            siddharth_yadav @johnpoz
            last edited by Dec 23, 2021, 10:11 AM

            @johnpoz Thanks John. Really appreciate the help! I will wait for the update then 😄

            D 1 Reply Last reply Jan 16, 2022, 5:28 PM Reply Quote 0
            • D
              DrPhil @siddharth_yadav
              last edited by Jan 16, 2022, 5:28 PM

              I had the same issue after updating to 21.05.2.

              For my use case the easyrule script is a somewhat critical need. I have never applied a manual patch on pfsense before, but this one was relatively easy.

              I basically took the new easyrule script from the redmine, and dropped it in usr/local/bin. (replacing the previous easyrule). And it works fine now.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received