昨天突然发现无法通过 OpenVPN 连接到家里的 NAS ,今天详细测试发现在 iKuai 配置了端口转发的情况下,外部网络的 PING 正常,但是 UDP 和 TCP 端口的入站通讯都会被打断。
测试了 8000 段,50000 段等高端口,家庭内网服务器开了一个简单的 http 服务显示 hello world 页面,内网测试正常,说明服务器没问题,外部网络测试 connection reset by peer
➜ ~ curl -v http://xx.xx.xxx.xxx:60013/
执行时间:2025-07-08 10:17:06
* Trying xx.xx.xxx.xxx:60013...
* Connected to xx.xx.xxx.xxx (xx.xx.xxx.xxx) port 60013
> GET / HTTP/1.1
> Host: xx.xx.xxx.xxx:60013
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
* Recv failure: Connection reset by peer
* Closing connection
curl: (56) Recv failure: Connection reset by peer
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.