Page MenuHomeFreeBSD

pfctl: change for af-to / NAT64 support.
ClosedPublic

Authored by kp on Nov 27 2024, 4:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 2:24 AM
Unknown Object (File)
Sep 6 2025, 3:18 AM
Unknown Object (File)
Aug 15 2025, 12:22 AM
Unknown Object (File)
Aug 15 2025, 12:11 AM
Unknown Object (File)
Aug 3 2025, 7:18 AM
Unknown Object (File)
Jul 17 2025, 3:35 AM
Unknown Object (File)
Jul 12 2025, 6:22 AM
Unknown Object (File)
Jul 11 2025, 4:26 PM

Details

Summary

The general syntax is:
pass in inet from any to 192.168.1.1 af-to inet6 from 2001::1 to 2001::2
In the NAT64 case the "to" is not needed in af-to and the IP is extraced
from the IPv6 dst (assuming a /64 prefix).
Again most work by sperreault@, mikeb@ and reyk@
OK mcbride@, put it in deraadt@

Obtained from: OpenBSD, claudio <claudio@openbsd.org>, 0cde32ce3f
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable