问题描述
我有一个安装了pihole和wireguard的raspBerrypi。 Pihole 工作正常,除了适用于 Android 的 Signal Messenger 外,对于wireguard 也是如此。当我通过 VPN 连接时,我总是超时。
java.net.ConnectException: Failed to connect to /192.168.210.1 (port 8080) from /10.6.0.2 (port *****) after *****ms: isConnected Failed: ETIMEDOUT (Connection timed out) ...
我使用 PiVPN 脚本安装了wiregurad,因此我有一个非常简单的配置,如下所示:
[Interface]
PrivateKey = ***
Address = 10.6.0.1/24
ListenPort = ***
[Peer]
PublicKey = ***
PresharedKey ***
AllowedIPs = 10.6.0.2/32
PersistentKeepalive = 25
我手机上的配置也很简单。
我的路由表看起来像:
default via 192.168.1.1 dev eth0 src 192.168.1.2 metric 202
10.6.0.0/24 dev wg0 proto kernel scope link src 10.6.0.1
192.168.1.0/24 dev eth0 proto dhcp scope link src 192.168.1.2 metric 202
192.168.1.2 是我的 raspi,也是我的默认 DNS。我不明白为什么 Signal 试图连接到 192.168.210.1 并且只有在通过 VPN 连接时才会出现此异常。有没有人有想法?谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)