Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2017 16:38:03 +0000
From:      Mark Raynsford <list+org.freebsd.pf@io7m.com>
To:        freebsd-pf@freebsd.org
Subject:   Re: Specifying a range of ipv6 addresses?
Message-ID:  <20171010163736.7bfd6094@copperhead.int.arc7.info>
In-Reply-To: <20171010161123.52808204@copperhead.int.arc7.info>
References:  <20171010161123.52808204@copperhead.int.arc7.info>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-10-10T16:11:23 +0000
Mark Raynsford <list+org.freebsd.pf@io7m.com> wrote:

> Hello.
> 
> What is the syntax for specifying a range of IPv6 addresses in rules?

Naturally, I didn't find the answer until I asked the question. The
syntax I was looking for is:

pass out log quick on $nic_ppp inet6 proto tcp \
  from 2001:db8:8:10:: - 2001:db8:8:10:ffff:ffff:ffff:ffff \
  to any port 80 modulate state

-- 
Mark Raynsford | http://www.io7m.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171010163736.7bfd6094>