summaryrefslogtreecommitdiff
path: root/net/containernetworking-plugins/files/pf.conf.sample
blob: 71976cdb0c661f055d6312d1f338c182891030c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Change these to the interface(s) with the default route
v4egress_if = "ix0"
v6egress_if = "ix0"

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/*"
nat-anchor "cni-rdr/*"
table <cni-nat>