Specifying a range of ipv6 addresses?

Mark Raynsford list+org.freebsd.pf at io7m.com
Tue Oct 10 16:11:24 UTC 2017


Hello.

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

I want to write rules of the form:

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

But pf appears to treat 2001:db8:8:10::/64 as a single address (I
intended it to mean an entire subnet).

-- 
Mark Raynsford | http://www.io7m.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20171010/6a3bbc7a/attachment.sig>


More information about the freebsd-pf mailing list