Project

General

Profile

Actions

Regression #13601

closed

Error creating port forward rule with port alias

Added by Marcos M over 1 year ago. Updated 10 months ago.

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

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:

Description

Tested on pfSense-23.01.a.20221026.0600.

  1. Create the alias test_Port
  2. Add a port forward rule using the port alias for Redirect target port
  3. Save and Apply

The config is saved with an invalid alias (appends -0)and gives the error when reloading the filter:

Oct 27 15:06:08 php-fpm 376 /rc.filter_configure_sync: New alert found: Unresolvable destination port alias 'test_Port-0' for rule 'NAT test'

        <rule>
            <source>
                <any></any>
            </source>
            <interface>wan</interface>
            <ipprotocol>inet</ipprotocol>
            <protocol>tcp/udp</protocol>
            <destination>
                <address>d_test</address>
                <port>test_Port-0</port>
            </destination>
            <descr><![CDATA[NAT test]]></descr>
            <associated-rule-id>nat_6359fb750b4c27.36976854</associated-rule-id>
            <tracker>1666841461</tracker>
            <created>
                <time>1666841461</time>
                <username><![CDATA[NAT Port Forward]]></username>
            </created>
        </rule>
Actions #1

Updated by Christian McDonald over 1 year ago

  • Status changed from New to Feedback
  • Target version set to 2.7.0
  • Plus Target Version set to 23.01
Actions #2

Updated by Christian McDonald over 1 year ago

  • % Done changed from 0 to 100
Actions #3

Updated by Marcos M over 1 year ago

  • Status changed from Feedback to Resolved

Tested patch - now working.

Actions #4

Updated by Jim Pingle over 1 year ago

  • Subject changed from Error creating port forward rule with custom target port to Error creating port forward rule with port alias

Updating subject for release notes.

Actions #5

Updated by Jim Pingle 10 months ago

  • Affected Version set to 2.7.0
Actions

Also available in: Atom PDF