mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #324] 是否可以更换其他端口号 #300
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dyrilyz on GitHub (Nov 22, 2022).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/324
你好:
通过docker-compose,我在服务器上同时运行了几个vpn服务。我最常用的是IKEv2协议,但是今天忽然断连后无法再次连接。通过
docker exec -it ipsec-vpn-server ipsec trafficstatus查看容器状态发现客户端已经连接,但实际上客户端长时间未响应最后断开。通过对其他vpn的调试,我发现某些端口似乎无法使用了。
所以,我想了解,是否可以通过环境变量或其他途径来修改端口号呢?
@hwdsl2 commented on GitHub (Nov 22, 2022):
@RilyZhang 你好!IPsec VPN 一般需要使用默认的端口 UDP 500 和 4500。目前本项目不支持修改端口。IPsec VPN 相对来说较容易被屏蔽或干扰,你可以尝试比如 Shadowsocks 等解决方案。