Skip to content

dynamic-source-nat and IDP doc updates - #1113

Merged
Chr1st0ph3rTurn3r merged 3 commits into
masterfrom
jsilvia/I95-65301-dynamic-source-nat-idp
Aug 18, 2026
Merged

dynamic-source-nat and IDP doc updates#1113
Chr1st0ph3rTurn3r merged 3 commits into
masterfrom
jsilvia/I95-65301-dynamic-source-nat-idp

Conversation

@jamesesilvia

Copy link
Copy Markdown
Contributor

Description

As seen in customer setup (I95-65301), with IDP + Dynamic Source NAT -- the applies-to-local-breakout flag must also be configured.

Comment thread docs/config_dnat.md

- [`local-ip`](config_command_guide.md#configure-authority-router-node-device-interface-network-interface-dynamic-source-nat-local-ip): For packets ingressing this interface, the IP that is source NAT'ed to the `remote-ip`.
- [`remote-ip`](config_command_guide.md#configure-authority-router-node-device-interface-network-interface-dynamic-source-nat-remote-ip): For packets ingressing this interface, the IP where the `local-ip` will be source NAT'ed. `remote-ip` must use the /32 prefix.
- [`applies-to-local-breakout`](config_command_guide.md#configure-authority-router-node-device-interface-network-interface-dynamic-source-nat-applies-to-local-breakout): Whether the dynamic source NAT applies to local breakout sessions. Default is `false`. Set to `true` when IDP is enabled on traffic that also requires Dynamic Source NAT — IDP processes traffic as local breakout sessions, so without this flag the NAT rules are not applied to that traffic.

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.

Is there a case where you would set this to true and IDP is not configured? i.e., is this only relevant for when IDP and local-break-out is in use together?

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.

Yes - this would also be useful for applying the dynamic source nat feature for local breakout scenarios. This was actually implemented for that purpose originally. Since IDP KNI's look like "local breakout" i.e. non SVR - that was the trick to get IDP working. I would argue this is a bit of a hack for IDP but the best option we have right now.

Comment thread docs/ts_idp.md Outdated

When IDP is enabled on a service that also uses [`dynamic-source-nat`](config_dnat.md), traffic processed by IDP may not be source-NATed as expected. IDP processes traffic as local breakout sessions, and by default `dynamic-source-nat` does not apply to local breakout sessions (`applies-to-local-breakout` defaults to `false`).

To resolve traffic issues in this scenario, set `applies-to-local-breakout true` on the `dynamic-source-nat` configuration for each node:

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.

Replace "To resolve traffic issues in this scenario" with "To apply source NAT in scenarios where IDP is also required,"

@Chr1st0ph3rTurn3r Chr1st0ph3rTurn3r left a comment

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.

Approve with changes requested by Mike.

Chr1st0ph3rTurn3r and others added 2 commits August 18, 2026 11:06
…oes not seem to identify anything different than local breakout, which is already stated, so no change was made.
@Chr1st0ph3rTurn3r
Chr1st0ph3rTurn3r merged commit 7583abe into master Aug 18, 2026
1 check passed
@Chr1st0ph3rTurn3r
Chr1st0ph3rTurn3r deleted the jsilvia/I95-65301-dynamic-source-nat-idp branch August 18, 2026 18:07
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.

4 participants