谁用 n2n

2015-02-11 00:09:34 +08:00
 hiboshi

公网一台服务器安装了supernode

内网一台服务器使用edge 连接

supernode -l 8081 -f -v 后内网服务器去连接时候

连接命令

sudo edge -a 10.10.0.12 -c test -k test -l 203.195.xx.xxx:8081

显示如下错误

11/Feb/2015 00:05:42 [ sn.c: 409] ERROR: Failed to decode common section
11/Feb/2015 00:06:37 [ n2n.c: 303] Purging old registrations
11/Feb/2015 00:06:37 [ n2n.c: 308] Remove 0 registrations
11/Feb/2015 00:06:42 [ sn.c: 409] ERROR: Failed to decode common section

也试过其他服务器去连接的一直这样。

1467 次点击
所在节点    OpenWrt
11 条回复
kiritoalex
2015-02-11 00:11:02 +08:00
我也有这个问题……
hiboshi
2015-02-11 00:12:26 +08:00
@kiritoalex 你解决了没有呢,还是使用什么替代方法?
kiritoalex
2015-02-11 00:14:07 +08:00
@hiboshi 你的服务器在墙外还是墙内呢?
hiboshi
2015-02-11 00:19:39 +08:00
@kiritoalex supernode 在 墙内,edge1 在 墙内 edge2 在墙外 都不能连接
kiritoalex
2015-02-11 00:25:21 +08:00
@hiboshi 是版本不一致的问题?
hiboshi
2015-02-11 00:29:47 +08:00
@kiritoalex v1 版本和v2版本都试过了
hiboshi
2015-02-11 00:53:25 +08:00
@kiritoalex 搞定了 换了个公开的supernode就可以了,不知道什么原因
linchanx
2015-02-11 08:57:47 +08:00
supernode使用udp协议,确保防火墙放过。
hiboshi
2015-02-11 10:46:11 +08:00
@linchanx 防火墙是关闭状态的
hiboshi
2015-02-11 14:27:45 +08:00
kiritoalex
2015-02-15 01:10:46 +08:00
@hiboshi 感谢分享经验

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/169988

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX