[GH-ISSUE #388] ikev2 模式如何设置可以可以指定子网走vpn, 而不是所有流量? #360

Closed
opened 2026-03-02 08:01:38 +03:00 by kerem · 1 comment
Owner

Originally created by @pangliang on GitHub (Jun 20, 2023).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/388

看了其他issuse, leftsubnet 各种设置都尝试过; 不太行

Originally created by @pangliang on GitHub (Jun 20, 2023). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/388 看了其他issuse, leftsubnet 各种设置都尝试过; 不太行
kerem closed this issue 2026-03-02 08:01:38 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Jun 21, 2023):

@pangliang 你好!请参见 VPN 分流。如果你使用本项目的 Docker 镜像,需要首先在容器中运行 Bash shell,然后进行第一个链接中的更改。完成后重启 Docker 容器:docker restart ipsec-vpn-server

<!-- gh-comment-id:1600150571 --> @hwdsl2 commented on GitHub (Jun 21, 2023): @pangliang 你好!请参见 [VPN 分流](https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/advanced-usage-zh.md#vpn-%E5%88%86%E6%B5%81)。如果你使用本项目的 Docker 镜像,需要首先[在容器中运行 Bash shell](https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/docs/advanced-usage-zh.md#%E5%9C%A8%E5%AE%B9%E5%99%A8%E4%B8%AD%E8%BF%90%E8%A1%8C-bash-shell),然后进行第一个链接中的更改。完成后重启 Docker 容器:`docker restart ipsec-vpn-server`。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#360
No description provided.