OPNsense Forum

English Forums => General Discussion => Topic started by: olest on April 23, 2021, 01:39:06 pm

Title: Wildcard netmask in alias or firewall rules
Post by: olest on April 23, 2021, 01:39:06 pm
I need to create a firewall rules that gives access to IP's which ends at e.g. .64

Using another firewall provider we could do this by using wildcard netmasks as this 0.0.0.64/0.0.0.252

Can this be done some how with OPNsense?


We need to do the same as this other Cisco example:
Match all 192.168.x.1 addresses:
permit 192.168.0.1 0.0.255.0
Title: Re: Wildcard netmask in alias or firewall rules
Post by: olest on April 23, 2021, 02:35:51 pm
Here is a few link with use cases:

https://campus.barracuda.com/product/cloudgenfirewall/doc/79462985/how-to-create-wildcard-network-objects/

https://www.watchguard.com/help/docs/help-center/en-US/Content/en-US/Fireware/networksetup/wildcard_ip_addresses_about.html
Title: Re: Wildcard netmask in alias or firewall rules
Post by: olest on April 29, 2021, 11:20:43 am
https://github.com/opnsense/core/issues/4952