Is it possible to access WSL outside through ipv6? #11842
Replies: 3 comments
-
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Beta Was this translation helpful? Give feedback.
-
/question |
Beta Was this translation helpful? Give feedback.
-
Diagnostic information
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to access WSL like ssh remotely through ipv6 because I don't have a public ipv4 address, following configs like
networkingMode=mirrored
andhostAddressLoopback
to enable ipv6 and expose wsl ports to windows and creating firewall rule for hyper-v to enable inbound rule for specific port (here, 22000 for SSH of WSL)1. But I still failed to establish ssh connection remotely/even locally through ipv6 address but successfully over ipv4 address. And at the same time, the ssh to windows ssh and a bridged-network virtual machine through ipv6 are all OK. While at the same time, I found it failed to access a ipv6 web server in WSL from Windows.I'd like to know if it's possible to access WSL outside through ipv6, I haven't tried to disable
networkingMode=mirrored
and use netsh to create proxy v4 (WSL) to v6 (Windows) and don't know if it could work.My current version and wsl conf is as follows,
wsl conf
Beta Was this translation helpful? Give feedback.
All reactions