Nested port aliases causes "Unknown port" error upon loading filters
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 : pass in quick on $WAN proto tcp from any to 188.8.131.52 port $HR_Orion flags S/SA keep state label "USER_RULE: NestTest" ...
Seems nested port aliases don't work?
Updated by Frank Zavelberg over 10 years ago
- File rules.debug rules.debug added
- File rules.error rules.error added
- File config-pandora.tianet.de-20110520003559.xml config-pandora.tianet.de-20110520003559.xml added
Please find the requested files attached.
The error occured when I create a port alias group "HR_Orion", containing the aliasses "R_Webserver" and "R_Webmin". I used that alias group in a firewall rule to have packets to "H_Orion" pass when their destination port is in "HR_Orion".