xiaorouji / openwrt-passwall2

1.24k stars 415 forks source link

[Bug]: Not All Internet Traffic is Routed Through the Node #635

Closed pr381s closed 4 days ago

pr381s commented 2 weeks ago

描述您遇到的bug

Device: Xiaomi AX3000T Router

Router OS: OpenWrt V 23.05.04 Official Stable Release

Passwall2 Version: 1.30-3

Bug Description: When I reset the router (for any reason) and reinstall the OpenWrt OS, regardless of whether it is an official, unofficial, snapshot, or stable release, and then proceed to install Passwall2, the issue persists. I set up a node without any special routing (i.e., Shunt is disabled) and select a node for all traffic to be routed through this node. However, this does not happen, and many services are still accessing my primary internet IP. Many services, such as Speedtest or some blocked services, run without VPN and use my local internet connection. Even when Shunt is enabled and a specific routing path is defined, the issue persists.

It's important to note that the router is completely clean, with only OpenWrt and Passwall2 installed. I have reinstalled OpenWrt multiple times, but the problem remains. DNS settings have been carefully reviewed, and extensive testing has been done with various DNS models and providers, yet the issue persists. No changes have been made to the default settings of Passwall2. Even when changes are applied, the issue still exists, and changing the WAN (the incoming internet connection to the router) does not resolve the problem.

复现此Bug的步骤

1 - Install OpenWrt. 2 - Install Passwall2. 3 - Configure and activate the node. 4 - Start Passwall2.

您想要实现的目的

I want all traffic to be routed through the Node, and no traffic should bypass the Node unless it is explicitly defined in the routing settings, for example, if Service X is set to connect directly.

日志信息

2024-08-27 15:12:50: 删除nftables防火墙规则完成。 2024-08-27 15:12:54: 清空并关闭相关程序和缓存完成。 2024-08-27 15:12:54: 127.0.0.1#15353 (直连DNS:192.168.1.1 远程DNS:https://dns.adguard.com/dns-query,176.103.130.130) 2024-08-27 15:12:54: - [0]节点列表中的域名(vpslist):192.168.1.1 2024-08-27 15:12:54: - [0]默认:127.0.0.1#15353 2024-08-27 15:12:55: 开始加载防火墙规则... 2024-08-27 15:12:55: - [0]追加ISP IPv4 DNS到白名单:192.168.1.1 2024-08-27 15:12:55: 加入负载均衡的节点到nftset[passwall2_vpslist]直连完成 2024-08-27 15:12:55: - [0]追加直连DNS到nftables:192.168.1.1:53 2024-08-27 15:12:55: 加入所有节点到nftset[passwall2_vpslist]直连完成 2024-08-27 15:12:56: 【默认】,使用 TCP 节点IR - Route 2024-08-27 15:12:56: 【默认】,使用 UDP 节点IR - Route 2024-08-27 15:12:56: 防火墙规则加载完成! 2024-08-27 15:12:59: 重启 dnsmasq 服务 2024-08-27 15:13:00: 运行完成!

2024-08-27 15:13:01: 删除nftables防火墙规则完成。 2024-08-27 15:13:02: 清空 NFTSET。 2024-08-27 15:13:02: 删除nftables防火墙规则完成。 2024-08-27 15:13:06: 清空并关闭相关程序和缓存完成。 2024-08-27 15:13:06: 127.0.0.1#15353 (直连DNS:192.168.1.1 远程DNS:https://dns.adguard.com/dns-query,176.103.130.130) 2024-08-27 15:13:06: - [0]节点列表中的域名(vpslist):192.168.1.1 2024-08-27 15:13:06: - [0]默认:127.0.0.1#15353 2024-08-27 15:13:07: 开始加载防火墙规则... 2024-08-27 15:13:07: - [0]追加ISP IPv4 DNS到白名单:192.168.1.1 2024-08-27 15:13:07: 加入负载均衡的节点到nftset[passwall2_vpslist]直连完成 2024-08-27 15:13:07: 加入所有节点到nftset[passwall2_vpslist]直连完成 2024-08-27 15:13:07: - [0]追加直连DNS到nftables:192.168.1.1:53 2024-08-27 15:13:08: 【默认】,使用 TCP 节点IR - Route 2024-08-27 15:13:08: 【默认】,使用 UDP 节点IR - Route 2024-08-27 15:13:08: 防火墙规则加载完成! 2024-08-27 15:13:11: 重启 dnsmasq 服务 2024-08-27 15:13:11: 运行完成!

截图

Screenshot 2024-08-27 151445 Screenshot 2024-08-27 151526

系统相关信息

Router : Xiaomi AX3000T OS Version : openwrt 23.05.04 Passwall2 : V 1.30-3 Devices : Android 14 - Windows 11 - Android TV

其他信息

Even with the preproxy node enabled, this issue still persists. Screenshot 2024-08-27 163301

github-actions[bot] commented 1 week ago

Stale Issue