micahmo / WgServerforWindows

Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows
MIT License
818 stars 78 forks source link

Enable NAT Failed #160

Open LiupeimingChinaGuangdong opened 2 months ago

LiupeimingChinaGuangdong commented 2 months ago

Previously, NAT could be enabled, but after changing the configuration, enabling NAT again failed. The following is the detailed error information:`System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: New-NetIPAddress : 对象已存在。 所在位置 行:1 字符: 1

System.Exception: New-NetIPAddress : 对象已存在。 所在位置 行:1 字符: 1

` How should I solve this problem?