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 Intune Linux
Microsoft Intune Linux
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Linux: A family of open-source Unix-like operating systems.
42 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Hiroro Law 0 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' .

    0 comments No comments