Project

General

Profile

Actions

Regression #13601

closed
MM CM

Error creating port forward rule with port alias

Regression #13601: Error creating port forward rule with port alias

Added by Marcos M almost 4 years ago. Updated about 3 years 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>

CM Updated by Christian McDonald almost 4 years ago Actions #1

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

CM Updated by Christian McDonald almost 4 years ago Actions #2

  • % Done changed from 0 to 100

Applied in changeset commit:f01cd8348f8a0520dfc9265f548d2ec187b55e67.

MM Updated by Marcos M almost 4 years ago Actions #3

  • Status changed from Feedback to Resolved

Tested patch - now working.

JP Updated by Jim Pingle almost 4 years ago Actions #4

  • 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.

JP Updated by Jim Pingle about 3 years ago Actions #5

  • Affected Version set to 2.7.0
Actions

Also available in: Atom