mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #474] 给用户名设置静态IP没有生效 #446
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 @cadmael on GitHub (Apr 11, 2025).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/474
docker compose 配置
vpn.env 配置
上面是我的配置,我在客户端连接以后 ip依然是自动分配的,我打开chap-secrets 文件显示
我看了这些文档,没有找到解决方案
@hwdsl2 commented on GitHub (Apr 11, 2025):
@cadmael 你好!你首先重新创建 Docker 容器试试看,可能是对 env 文件的修改没有生效。如果不行的话,目前静态 IP 可能不支持与自定义子网一起使用,你可以自己修改 run.sh 实现该功能。