On Wed, Jun 6, 2018 at 10:36 AM, Dries Michiels
wrote:
> Is there are way to match packets specifying both network generation ip4 or
> ip6 together with the protocol such as tcp or udp?
>
> Currently the following rules are possible (examples):
>
> ipfw add 1 allow udp from any to me 22 in recv
Dear Mailing List,
Is there are way to match packets specifying both network generation ip4 or
ip6 together with the protocol such as tcp or udp?
Currently the following rules are possible (examples):
ipfw add 1 allow udp from any to me 22 in recv em0
ipfw add 1 allow ip4 from any to me
Tried out the variations you mentioned and they work just great.
Thank you!
Dries
From: Freddie Cash
Sent: woensdag 6 juni 2018 20:01
To: Dries Michiels
Cc: freebsd-ipfw@freebsd.org
Subject: Re: Matching rules on ip4/ip6 with udp/tcp
On Wed, Jun 6, 2018 at 10:36 AM, Dries
On 06.06.2018 20:36, Dries Michiels wrote:
> Dear Mailing List,
>
> Is there are way to match packets specifying both network generation ip4 or
> ip6 together with the protocol such as tcp or udp?
>
> Currently the following rules are possible (examples):
>
> ipfw add 1 allow udp from any to me