Project

General

Profile

Actions

Bug #7729

closed

pfBlockerNG orders NAT licked rules to the bottom of firewall rules

Added by Yuri Weinstein almost 8 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
pfBlockerNG
Target version:
-
Start date:
07/26/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

When I use pfBlockerNG and rules order as this https://snag.gy/yFQa5b.jpg after rules update my NAT linked non-pfBlockerNG get pushed to the bottom https://snag.gy/VrUCN4.jpg , see "NAT yw__Temp VNC 2" and a hack-rule I had to use for workaround "yw__NAT Plex 2 copy, need it b/c rules order"

Actions #1

Updated by BBcan177 . almost 8 years ago

Can you edit /usr/local/pkg/pfblockerng/pfblockerng.inc
and replace the line (-) with the new line (+):

Line 4715:


    -                                } elseif ($rule['type'] == 'pass') {
    +                                } elseif ($rule['type'] == 'pass' || isset($rule['associated-rule-id'])) {

And report back if this patch solves your issue?

Actions #2

Updated by Yuri Weinstein almost 8 years ago

@BBcan177
Thx for the clue.
What's the proper way to modify /usr/local/pkg/pfblockerng/pfblockerng.inc ?
I made changes as root and was getting some errors on reload. Do I need to reboot after modification?

Also it feel like this should be default behavior, unless there is an reason for not doing so.

Actions #3

Updated by Yuri Weinstein almost 8 years ago

@BBcan177

Looks like it worked !
Pls make it default.

Actions #5

Updated by Kill Bill almost 8 years ago

Merged and fixed since 2.1.1_9

Actions #6

Updated by Jim Pingle almost 8 years ago

  • Status changed from New to Resolved
Actions #7

Updated by Jim Pingle almost 6 years ago

  • Project changed from pfSense to pfSense Packages
  • Category changed from 119 to pfBlockerNG
Actions

Also available in: Atom PDF