Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法通讯 #35

Closed
AIchar opened this issue Jul 27, 2023 · 4 comments
Closed

无法通讯 #35

AIchar opened this issue Jul 27, 2023 · 4 comments

Comments

@AIchar
Copy link

AIchar commented Jul 27, 2023

我在电脑上运行NatTypeTest显示是fullcone,然后在路由器上(istoreos)运行
./natmap -u -s stun.qq.com -b 0 -t 192.168.2.115 -p 8083
192.168.2.115是我的电脑ip,然后natmap反回了一个公网ip和端口。用另外一台电脑往这个端口发送udp数据包,但我192.168.2.115的电脑并不能收到这个数据包是配置有问题吗

@heiher
Copy link
Owner

heiher commented Jul 27, 2023

参考: https://github.com/heiher/natmap/wiki/wireguard 看看有没有步骤漏了

@AIchar
Copy link
Author

AIchar commented Jul 28, 2023

我重新配置了一下,防火墙也放开了,现在UDP测试是可以打通的
这是我natmap的配置
1
这是测试结果,下面的发送端是我本地的主机,中间是SSH远程连接我家里的一台服务器,natmap部署在我家里的软路由上,本地主机通过natmap的ip和端口可以和我家里的服务器用UDP通讯。
2
然后我又测试了一下TCP,这是配置
3
192.168.2.4:8080是我家里qb的web
5
这是natmap返回的ip和端口
6
但是我不管通过域名或是ip直接访问都连不上
7
8
我家里的网络我用stun测试应该是全锥形的
9

@zhangyz1997
Copy link

我重新配置了一下,防火墙也放开了,现在UDP测试是可以打通的 这是我natmap的配置 1 这是测试结果,下面的发送端是我本地的主机,中间是SSH远程连接我家里的一台服务器,natmap部署在我家里的软路由上,本地主机通过natmap的ip和端口可以和我家里的服务器用UDP通讯。 2 然后我又测试了一下TCP,这是配置 3 192.168.2.4:8080是我家里qb的web 5 这是natmap返回的ip和端口 6 但是我不管通过域名或是ip直接访问都连不上 7 8 我家里的网络我用stun测试应该是全锥形的 9

有些缺德的运营商只允许UDP, 把TCP屏蔽了;我现在用frp都得走kcp或者quic才能用

@heiher
Copy link
Owner

heiher commented Aug 19, 2023

和运营商杠或换另一家 😃

@heiher heiher closed this as completed Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants