OPNsense Forum

English Forums => General Discussion => Topic started by: thokzz on June 04, 2024, 09:57:58 AM

Title: 24.1.7_4 Firewall Rules Dst-Port - cannot do Multiple Port entries
Post by: thokzz on June 04, 2024, 09:57:58 AM
Is there a way to input multiple Ports under FIREWALL>SHAPER>RULES>SRC/DST PORTS?

I can only add single port entry or a range but not multiple ports, but in FIREWALL>ALIASES it is doable.
Title: Re: 24.1.7_4 Firewall Rules Dst-Port - cannot do Multiple Port entries
Post by: Jims-Garage on June 04, 2024, 10:18:22 AM
Create and then use an Alias
Title: Re: 24.1.7_4 Firewall Rules Dst-Port - cannot do Multiple Port entries
Post by: thokzz on June 04, 2024, 10:23:35 AM
Quote from: Jims-Garage on June 04, 2024, 10:18:22 AM
Create and then use an Alias

Do you mind sharing on how to do that? I already have the alias "_ports"  created. But there seems to be no where to put that alias.
Title: Re: 24.1.7_4 Firewall Rules Dst-Port - cannot do Multiple Port entries
Post by: Monviech (Cedrik) on June 04, 2024, 10:52:45 AM
I think aliases can't be used in the shaper.

It has to be a single port (80), or a port range (e.g. 80-90)