-
Notifications
You must be signed in to change notification settings - Fork 802
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
[feature request] portmap
support masquerade-all
option
#771
Comments
I'm having trouble understanding what is going on. What addresses live where? |
@BSWANG can you clarify the diagram? What are 1.1.1.1 and 2.2.2.2? Is the square a node in a cluster? And is 192.168.0.1 and 0.2 NICs on the node? Is 10.0.0.1 the container? |
In your use-case, what is the source-ip and dest-ip of the incoming packet from client -> pod? When the pod replies, what is the source-ip and dest-ip of hte outgoing packet? |
Are you able to give the output of 'ip r' on the host node? |
portmap
support masquerad-all
optionportmap
support masquerade-all
option
@dcbw @MikeZappa87 |
When k8s cluster use
ipvlan
L3/L2,macvlan
or otherunderlay
network plugin. The traffic come back from pod to host maybe not go throughconntrack
in host, and can not un-snat tohostip
which client requested.Masquerad all traffic can make sure the pod reply come back to host and go through
conntrack
in host.The text was updated successfully, but these errors were encountered: