mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-27 10:35:53 +03:00
[GH-ISSUE #346] Centos on Bandwagon host 部署 docker setup-ipsec-vpn,OS X可以连接,可以使用SSH,没有互联网。 #318
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 @bubersome on GitHub (Feb 10, 2023).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/346
Checklist
Describe the issue
请帮忙支教应该如何debug, 我有使用一键脚本成功部署的经验。
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Logs
Check logs and VPN status, and add error logs to help explain the problem, if applicable.
Server (please complete the following information)
Client (please complete the following information)
Additional context
Add any other context about the problem here.
@hwdsl2 commented on GitHub (Feb 11, 2023):
@bubersome 你好!如果可以成功连接但是无法访问网站,有可能是 MTU/MSS 问题。解决方案请参见以下链接:
连接 IKEv2 后不能打开网站
Android MTU/MSS 问题
另外也可能是 DNS 的问题,可以尝试访问网站比如 https://1.1.1.1 以排除该原因。
@bubersome commented on GitHub (Feb 11, 2023):
hwdsl2大神好,
无法访问,https://1.1.1.1/ 检查了DNS配置如下

请问还有别的方法排除吗?
这个方法不知道如何检查: 连接 IKEv2 后不能打开网站
用ifconfig 检查了MTU 都是1500.
[Android MTU/MSS 问题]
希望大神能够指点迷津。我有两个VPS 另外一个直接一键安装的运行了数年一直没有问题。今天尝试Docker就吃瘪了。
@hwdsl2 commented on GitHub (Feb 11, 2023):
@bubersome 对于 MTU/MSS 问题,请尝试在你的 env 文件中添加 VPN_ANDROID_MTU_FIX=yes,然后重新创建 Docker 容器。在这里有说明:
https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients-zh.md#android-mtumss-%E9%97%AE%E9%A2%98
对于此问题,我暂时没有其他比较好的解决方案的建议。你再自己尝试一下。