Skip to content

pkg/mesh: avoid NAT-ing packets to service CIDRs#351

Merged
squat merged 2 commits intomainfrom
avoid_nat_service_cidr
Mar 15, 2023
Merged

pkg/mesh: avoid NAT-ing packets to service CIDRs#351
squat merged 2 commits intomainfrom
avoid_nat_service_cidr

Conversation

@squat
Copy link
Copy Markdown
Owner

@squat squat commented Feb 24, 2023

Currently, packets to service CIDRs may be masqueraded because they are
IP addresses that Kilo does not know about and therefore is not sure if
they know about some Kilo IPs, e.g. Peer IPs. This is not terrible but
it is annoying and can prevent some advanced use-cases, see #330. This
commit adds an optional flag to the kg binary that can be given
multiple times to specify the service CIDRs of the cluster so that Kilo
does not masquerade packets to them.

Signed-off-by: Lucas Servén Marín lserven@gmail.com

Currently, packets to service CIDRs may be masqueraded because they are
IP addresses that Kilo does not know about and therefore is not sure if
they know about some Kilo IPs, e.g. Peer IPs. This is not terrible but
it is annoying and can prevent some advanced use-cases, see #330. This
commit adds an optional flag to the `kg` binary that can be given
multiple times to specify the service CIDRs of the cluster so that Kilo
does not masquerade packets to them.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
@squat squat force-pushed the avoid_nat_service_cidr branch from f39f2ee to 25989a8 Compare February 27, 2023 16:06
@squat
Copy link
Copy Markdown
Owner Author

squat commented Mar 13, 2023

Ping @leonnicolas

@squat
Copy link
Copy Markdown
Owner Author

squat commented Mar 15, 2023

Merging to unblock #330

@squat squat merged commit 79682ce into main Mar 15, 2023
@squat squat deleted the avoid_nat_service_cidr branch March 15, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant