immortalwrt / homeproxy

The modern ImmortalWrt proxy platform for ARM64/AMD64 (powered by sing-box)
GNU General Public License v2.0
280 stars 87 forks source link

无法使用wireguard节点,日记显示 FATAL[0000] parse outbound[3]: create WireGuard device: numerical result out of range #64

Closed Xymmh closed 4 months ago

Xymmh commented 5 months ago
image

尝试修改过配置文件的各项参数,均不能解决问题

系统版本:ImmortalWrt 23.05.1 r27304-31bc47589e / LuCI openwrt-23.05 branch git-23.354.11083-b1b77b6 homeproxy版本:git-23.356.21884-c03d6fb

1715173329 commented 5 months ago

please paste your final client configuration here, remember to remove your private info

jefison commented 4 months ago

我的docker 版容器 immortalwrt 增加warp team 的wireguard 配置时,报以上错误。 以下是 /var/run/homeproxy/sing-box-c.json中相关配置

{
                        "type": "wireguard",
                        "tag": "main-out",
                        "routing_mark": 100,
                        "server": "<truncated>",
                        "server_port": <truncated>,
                        "private_key": "<truncated>",
                        "system_interface": true,
                        "interface_name": "wg-warp_team-out",
                        "local_address": [
                                "172.16.0.2/32",
                                "<truncated>"
                        ],
                        "peer_public_key": "<truncated>",
                        "reserved": [
                                31,
                                36,
                                228
                        ],
                        "mtu": 1280
                }
jefison commented 4 months ago

我的docker 版容器 immortalwrt 增加warp team 的wireguard 配置时,报以上错误。 以下是 /var/run/homeproxy/sing-box-c.json中相关配置

{
                        "type": "wireguard",
                        "tag": "main-out",
                        "routing_mark": 100,
                        "server": "<truncated>",
                        "server_port": <truncated>,
                        "private_key": "<truncated>",
                        "system_interface": true,
                        "interface_name": "wg-warp_team-out",
                        "local_address": [
                                "172.16.0.2/32",
                                "<truncated>"
                        ],
                        "peer_public_key": "<truncated>",
                        "reserved": [
                                31,
                                36,
                                228
                        ],
                        "mtu": 1280
                }

升级到sing-box 1.8.5 版本后问题解决。

Xymmh commented 4 months ago

是tag的问题,tag里面不能有符号