How do I create an ICMP rule with multiple types?

Started by IsaacFL, February 01, 2021, 08:35:59 PM

Previous topic - Next topic
Just moved over from pfsense, and trying to create an ICMP firewall rule on my WAN interface.  Attached screenshot of my pfsense rules I am trying to make in opnsense.

When I select the ICMP types, in the pull down, it only allows one selection.  I would like to be able to select multiple ICMP types.


This has been raised before, and even some coding done it seems: https://forum.opnsense.org/index.php?topic=14891.0

But from the sound of your post it has not yet been implemented

I was mostly hoping it was just done in a different way than pfsense.  In pfsense I have to hold ctl while selecting the icmp types for the rule.

It seems odd that to have a firewall that can't do basic icmp filtering.  pf supports it. It just needs a list of icmp types for the rule. Opnsense provides the table, but not way to select more than one item at a time. So no way to create the rule.

I looked thru the thread and it looked like the person was trying to combine icmp and icmpv6 into one big table so you could write one rule for both icmpv4 and icmpv6. Nothing seems to have come of it.