Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ data:

custom-v6-rules.txt: |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in addition to what the bot said, can you remove the stray blank line here (line 10), and also rename the yaml file to "custom-nftables-rules.yaml"? (Or just "custom-rules.yaml")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure! fixed and renamed to custom-rules.yaml

# accept NDP
-p icmpv6 --icmpv6-type neighbor-solicitation -j ACCEPT
-p icmpv6 --icmpv6-type neighbor-advertisement -j ACCEPT
icmpv6 type nd-neighbor-solicit accept
icmpv6 type nd-neighbor-advert accept
# accept RA/RS
-p icmpv6 --icmpv6-type router-solicitation -j ACCEPT
-p icmpv6 --icmpv6-type router-advertisement -j ACCEPT
icmpv6 type nd-router-advert accept
icmpv6 type nd-router-solicit accept
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ spec:
containers:
- name: multus-networkpolicy
image: {{.MultiNetworkPolicyImage}}
command: ["/usr/bin/multi-networkpolicy-iptables"]
args:
- "--host-prefix=/host"
- "--container-runtime-endpoint=/run/crio/crio.sock"
- "--pod-iptables=/var/lib/multi-networkpolicy/iptables"
- "--network-plugins=macvlan,sriov,ipvlan,bond"
- "--custom-v6-ingress-rule-file=/etc/multi-networkpolicy/rules/custom-v6-rules.txt"
- "--custom-v6-egress-rule-file=/etc/multi-networkpolicy/rules/custom-v6-rules.txt"
Expand Down