Skip to content

Replace allowed ips when sending instance config to clients when force_all_traffic is enabled #1717

@j-chmielewski

Description

@j-chmielewski

Related issue: #880

To ensure that older clients also honor the force_all_traffic policy, we can modify the configuration sent to them over gRPC.
Specifically, if the policy is active, then for all locations we would replace the AllowedIPs with 0.0.0.0/0, ::/0.

While legacy clients will continue to display this configuration as "predefined traffic", in practice all network traffic will be routed through the VPN - as dictated by the configuration provided by the core service

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Refined & Ready

Relationships

None yet

Development

No branches or pull requests

Issue actions