Page MenuHomeFreeBSD

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

Authored by kp on Nov 27 2024, 4:42 PM.
Tags
None
Referenced Files
F153317578: D47790.diff
Mon, Apr 20, 10:59 AM
F153310483: D47790.id148143.diff
Mon, Apr 20, 9:52 AM
Unknown Object (File)
Sun, Apr 19, 9:53 PM
Unknown Object (File)
Sun, Apr 19, 12:15 AM
Unknown Object (File)
Wed, Apr 15, 11:30 AM
Unknown Object (File)
Wed, Apr 15, 3:20 AM
Unknown Object (File)
Mar 12 2026, 6:47 AM
Unknown Object (File)
Feb 12 2026, 11:55 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