Skip to content

[WSLC] In-built proxy for networking #1462

Open

Description

Migrated from ADO 64551769 (parent deliverable ADO 63911124 — [WSLC] Improvements to WSLC in MXC > 1.0).

Description of the new feature / enhancement

MXC builds its own proxy for WSLC and puts filtering per container in the proxy.

Proposed technical implementation details

No response

Activity

  1. added
    Issue-FeatureA request for new or expanded product functionality.
    OS-WindowsApplies specifically to Windows hosts or Windows behavior.
    Backend-WSLCWindows WSL Container backend behavior or integration.
    Priority1Critical customer, security, or reliability impact requiring immediate attention.
    on Oct 10, 2026
  2. theelliotm commented on Oct 14, 2026

    @theelliotm
    Contributor

    Implementation Ideas

    Schema

    Use the current networking fields instead of a separate allow/deny list for the built-in proxy.

    Option 1: Default off
    Configs with CIDR filtering (or differing egress/ingress/hostLoopback values) must set (new!) wslc.useBuiltInProxy to true (defaults false) to be valid.

    Option 2: Default on (My preferred)
    Configs with CIDR filtering (or differing egress/ingress/hostLoopback values) automatically use the built-in proxy. Currently valid configs wouldn't use the proxy until updated to include CIDR filtering. No need to add wslc.useBuiltInProxy to the schema.

    Ideas

    The built-in proxy will be scoped to just CIDR filtering. No hostnames.

    Port mappings would be unaffected by the proxy.

    An explicit runtimeConfig.networkProxy will act as a second external proxy. Outbound traffic that passes the CIDR filter gets sent to the external proxy, inbound traffic arrives from the external proxy before being CIDR filtered. This is consistent with most other backends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Backend-WSLCWindows WSL Container backend behavior or integration.Issue-FeatureA request for new or expanded product functionality.OS-WindowsApplies specifically to Windows hosts or Windows behavior.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions