Project

General

Profile

Actions

Regression #13601

closed

Error creating port forward rule with port alias

Added by Marcos M over 1 year ago. Updated 12 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

Also available in: Atom PDF