diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2022-11-30 13:30:22 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2022-12-04 10:56:53 +0000 |
| commit | 26861cc612d83c067858fe1889f752708be0edd5 (patch) | |
| tree | 12fcf2c27eb7b319bed5715a4d5caaa69552eba7 /net/containernetworking-plugins/files | |
| parent | 512b99159aaf7beea3070242eae640d16cb607fa (diff) | |
Diffstat (limited to 'net/containernetworking-plugins/files')
| -rw-r--r-- | net/containernetworking-plugins/files/pf.conf.sample | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/containernetworking-plugins/files/pf.conf.sample b/net/containernetworking-plugins/files/pf.conf.sample index 9d4ec5e2b414..c2d99f2a3bbf 100644 --- a/net/containernetworking-plugins/files/pf.conf.sample +++ b/net/containernetworking-plugins/files/pf.conf.sample @@ -1,8 +1,9 @@ -# Change this to the interface with the default route -egress_if = "ix0" +# Change these to the interface(s) with the default route +v4egress_if = "ix0" +v6egress_if = "ix0" -nat on $egress_if inet from <cni-nat> to any -> ($egress_if) -nat on $egress_if inet6 from <cni-nat> to !ff00::/8 -> ($egress_if) +nat on $v4egress_if inet from <cni-nat> to any -> ($v4egress_if) +nat on $v6egress_if inet6 from <cni-nat> to !ff00::/8 -> ($v6egress_if) rdr-anchor "cni-rdr/*" table <cni-nat> |
