Bug #2450
closedUnable to use a ports alias on a firewall rule.
0%
Description
The following input errors were detected:
mngtports is not a valid start destination port. It must be a port alias or integer between 1 and 65535.
mngtports is not a valid end destination port. It must be a port alias or integer between 1 and 65535.
This must be a recent change, source gitsync'ed as of may 23rd.
Updated by Seth Mos over 12 years ago
Note that a existing rule on a different interface with the same alias actually works and is successfully expanded.
Alias
mngtports 8888, 3322, 161, 199, 163
I was trying to duplicate this rule from the WAN interface to the 3G interface.
IPv4 TCP/UDP management * WAN address mngtports * none Allow remote management
Which is succesfully parsed into rules.debug.
pass in quick on $WAN reply-to ( vr1 94.211.222.1 ) proto { tcp udp } from $management to 94.211.222.92 port $mngtports keep state label "USER_RULE: Allow remote management"
Which leads me to believe it's in the UI.
Updated by Seth Mos over 12 years ago
- Status changed from New to Resolved
Through some miracle the alias type was not set in the config.
[2] => Array
(
[name] => mngtports
[address] => 8888 3322 161 199 163
[descr] => management ports
)
Edit and save and it was fixed.