-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to allow icmp and tcp/udp/sctp at same template #68
Comments
Hi @BurlyLuo, AFAIK, there is currently no way to control ICMP traffic with MultiNetworkPolicies, as they implement the same semantics as NetworkPolicies. From https://kubernetes.io/docs/concepts/services-networking/network-policies/ :
What is the specific use case you're trying to achieve? You're application needs to receive both TCP/80 packets and all ICMP traffic? |
@zeeke thanks for you replay. This is iptables related logical. so can we add the icmp as default rule, and provide a parameter to control it enable or disable. |
Have you tried
It should do the job you're asking for. |
template details:
if we spec tcp/udp/sctp the icmp will be blocked.
if with: it can be worked as expected.
so my question is how to full icmp and l4 protocol.
The text was updated successfully, but these errors were encountered: