Project

General

Profile

Actions

Bug #16729

closed

Rule source option ``self`` is not available when duplicating floating rules

Added by mrpops2ko . 2 months ago. Updated 7 days ago.

Status:
Resolved
Priority:
Very Low
Category:
Rules / NAT
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.07
Release Notes:
Default
Affected Version:
2.7.1
Affected Architecture:

Description

the menus differ when creating a new rule vs cloning an existing rule, specifically 'this firewall' is not present in the cloned rules as a source.

i have the following floating rule

and now upon cloning it, the clone lacks 'this firewall' as an option

creating an entirely new rule though works and enables you to select 'this firewall'

Actions #1

Updated by Christopher Cope about 2 months ago

  • Status changed from New to Confirmed

Tested on

25.11.1-RELEASE (amd64)
built on Mon Jan 19 12:25:00 EST 2026
FreeBSD 16.0-CURRENT

I can confirm this. It seems the logic for the Source dropdown isn't detecting that it's a floating rule when cloning, so values that are only shown for floating rules aren't shown.

Actions #2

Updated by Christopher Cope about 2 months ago

  • Status changed from Confirmed to Pull Request Review
Actions #3

Updated by aleksei prokofiev 8 days ago

Tested on 26.03-RELEASE (amd64)
built on Wed Apr 1 20:20:00 MSK 2026
FreeBSD 16.0-CURRENT
Looks good now.

Actions #4

Updated by Marcos M 7 days ago

  • Project changed from pfSense Plus to pfSense
  • Subject changed from clone rule missing options to Source option ``self`` is not available when duplicating floating rules
  • Category changed from Rules / NAT to Rules / NAT
  • Status changed from Pull Request Review to Resolved
  • Assignee set to Christopher Cope
  • Target version set to 2.9.0
  • % Done changed from 0 to 100
  • Affected Plus Version deleted (25.11.1)
  • Plus Target Version set to 26.07
  • Affected Version set to 2.7.1

Applied with f12f8141f6f601d81066753dca343d9ae3afe159. Show

Issue no longer reproducible with patch.

Actions #5

Updated by Marcos M 7 days ago

  • Subject changed from Source option ``self`` is not available when duplicating floating rules to Rule source option ``self`` is not available when duplicating floating rules
Actions

Also available in: Atom PDF