-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
配置了ikev2,但是无法连接VPn服务器 #1312
Comments
Jan 5 09:42:22 vultr pluto[140878]: Initializing NSS using read-write database "sql:/etc/ipsec.d" |
Jan 5 09:18:46 vultr xl2tpd[128276]: Not looking for kernel SAref support. |
@kevinliukaiwen 你好!你的日志中没有显示 VPN 客户端的连接请求,说明该连接请求没有到达服务器。对于有外部防火墙的服务器(比如 EC2/GCE),你需要为 VPN 打开 UDP 端口 500 和 4500。阿里云用户请参见 #433。 |
500端口和4500端口都打开了,还是连不上 |
@kevinliukaiwen 如果你的服务器使用外部防火墙比如 Vultr firewall,需要在外部防火墙也打开上述端口。如果仍然无法连接,可以换一个服务器重新安装试一下。 |
换过服务器了还是不行,vultr服务器搭建的,没有开启防火墙 |
|
|
我自己试了下,是500和4500两个端口都被墙了,这个有办法解决吗 |
@kevinliukaiwen 你好!对于该情况,IPsec VPN 较容易被干扰。建议换用其他解决方案比如 Shadowsocks。 |
已经按照排查步骤排查了,没找到问题所在,我用自己的流量ping vps 服务器可以ping通,但是服务器就是连接不上,
The text was updated successfully, but these errors were encountered: