Project

General

Profile

Actions

Bug #1386

closed

Nested port aliases causes "Unknown port" error upon loading filters

Added by Frank Zavelberg over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Rules / NAT
Target version:
Start date:
03/27/2011
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
amd64

Description

I'm trying to create nested port aliases in PFSense 2.0.

I created an Alias "R_Webserver", type "Ports", (role: webserver) which contains ports 80 and 443. Then I created an Alias "HR_Orion" (roles for host: orion), type "Ports", and added the "R_Webserver" alias. The input box offered me that alias name, so it seems to have been recognized.

Making a rule though which has "HR_Orion" as "destination port range", results in filter reload error:

There were error(s) loading the rules: /tmp/rules.debug:145: unknown port R_Webserverpfctl: Syntax error in config file: pf rules not loaded - The line in question reads [145]: pass in quick on $WAN proto tcp from any to 188.40.20.92 port $HR_Orion flags S/SA keep state label "USER_RULE: NestTest" ...

Seems nested port aliases don't work?


Files

rules.debug (14.3 KB) rules.debug Frank Zavelberg, 05/19/2011 06:41 PM
rules.error (290 Bytes) rules.error Frank Zavelberg, 05/19/2011 06:41 PM
config-pandora.tianet.de-20110520003559.xml (10.3 KB) config-pandora.tianet.de-20110520003559.xml Frank Zavelberg, 05/19/2011 06:41 PM
Actions

Also available in: Atom PDF