wsl: 检测到 localhost 代理配置,但未镜像到 WSL。NAT 模式下的 WSL 不支持 localhost 代理。

yellow 15 Reputation points
2023-11-15T07:01:01.9033333+00:00

I used clash for windows at first(I still use it now), but I install v2rayN a few days ago, and then , I got this problem. How can I resolve this problem?

Microsoft Security | Intune | Microsoft Intune Linux
{count} votes

1 answer

Sort by: Most helpful
  1. Hiroro Law 15 Reputation points
    2024-02-04T04:06:37.7166667+00:00

    create a new file named '.wslconfig' in C:\Users\<your_username>.
    Write the following content to the file:

    [experimental]
    autoMemoryReclaim=gradual  
    networkingMode=mirrored
    dnsTunneling=true
    firewall=true
    autoProxy=true
    

    run 'wsl --shutdown' .

    3 people found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.