summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/ncsi
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-03-11 06:24:22 +0300
committerWilliam A. Kennington III <wak@google.com>2021-05-07 04:09:53 +0300
commit5ba6d08d7f49d26ae466f6d826ed1d849972ad59 (patch)
tree56fbb156b19d25ed97437a4bf79101548a298bb5 /meta-google/recipes-google/ncsi
parente99168aab003bd20a901f40e15823af6637a4abd (diff)
downloadopenbmc-5ba6d08d7f49d26ae466f6d826ed1d849972ad59.tar.xz
meta-google: gbmc-systemd-config: Enable packet forwarding
This allows gBMCs to route packets, needed for routing packets to the management netowrk. Change-Id: I71f59eeb12607aa9c9d64687fb983938d5d69413 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-google/ncsi')
-rw-r--r--meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in b/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in
index 4ebe35128..70f14ae59 100644
--- a/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in
+++ b/meta-google/recipes-google/ncsi/files/50-gbmc-ncsi.rules.in
@@ -24,4 +24,11 @@ table inet filter {
icmpv6 type nd-neighbor-solicit accept
icmpv6 type nd-router-advert accept
}
+ chain ncsi_forward {
+ type filter hook forward priority 0; policy accept;
+ iifname != @NCSI_IF@ accept
+ oifname != gbmcbr drop
+ ip6 daddr fdb5:0481:10ce::/64 drop
+ ip6 saddr fdb5:0481:10ce::/64 drop
+ }
}