Skip to content

Document WSL2 inbound P2P connectivity - #622

Merged
yorickdowne merged 1 commit into
ethstaker:mainfrom
yorickdowne:wsl-inbound-p2p
Sep 19, 2026
Merged

yorickdowne merged 1 commit into
ethstaker:mainfrom
yorickdowne:wsl-inbound-p2p

Conversation

@yorickdowne

Copy link
Copy Markdown
Collaborator

Inbound IPv6 is not delivered to processes inside WSL 2. Verified with WSL 2.7.12 on Windows build 26200, with the Hyper-V firewall set to allow all inbound and matching Windows Defender Firewall rules in place, while inbound IPv4 to the same port succeeded at the same moment.

Inbound IPv4 needs explicit Hyper-V firewall rules. That firewall is a separate layer from Windows Defender Firewall, governs traffic into the WSL VM, and blocks inbound by default.

Inbound IPv6 does not reach Docker containers on WSL 2. Verified with WSL
2.9.12 on Windows build 26200: a listener running directly in WSL is
reachable over IPv6, while a published container port is not, and inbound
IPv4 to that same published port succeeds at the same moment. Not a
firewall issue, it persists with the Hyper-V firewall set to allow all
inbound and with matching Windows Defender Firewall rules.

Inbound IPv4 needs explicit Hyper-V firewall rules. That firewall is a
separate layer from Windows Defender Firewall, governs traffic into the
WSL VM, and blocks inbound by default.

Also notes wslc as a direction to watch, should it gain Compose support.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@yorickdowne
yorickdowne merged commit bd02fff into ethstaker:main Sep 19, 2026
3 checks passed
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