[GH-ISSUE #28] How to use IPSec VPN on Linux #26

Closed
opened 2026-03-02 07:11:09 +03:00 by kerem · 1 comment
Owner

Originally created by @WJHPrince on GitHub (Jun 1, 2017).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/28

I successfully setup my IPSec server by using your docker image. However I can't link to it on Linux.
I use vpnc to setup link. Here is the config file:

IPSec gateway xxx.xxx.xxx.xxx
IPSec ID <group-id>
IPSec secret *******
IKE Authmode psk
Xauth username xxx
Xauth password xxx

What is IPSec ID?
P.S.打英语好麻烦,如果可以的话能不能烦请用中文?

Originally created by @WJHPrince on GitHub (Jun 1, 2017). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/28 I successfully setup my IPSec server by using your docker image. However I can't link to it on Linux. I use `vpnc` to setup link. Here is the config file: ``` IPSec gateway xxx.xxx.xxx.xxx IPSec ID <group-id> IPSec secret ******* IKE Authmode psk Xauth username xxx Xauth password xxx ``` What is IPSec ID? P.S.打英语好麻烦,如果可以的话能不能烦请用中文?
kerem closed this issue 2026-03-02 07:11:09 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Jun 1, 2017):

@WJHPrince Hello! The IPsec ID is the "group name" in IPsec/XAuth "aggressive mode". This is not supported by the default configuration - you must edit /etc/ipsec.conf for it to work. Please refer to the following issues [1] [2] [3] for details. Read all comments in these issues. Also read the important notes [4].

Instead of the above, an easier alternative is to connect via IPsec/L2TP. You can find more details in [5].

[1] hwdsl2/setup-ipsec-vpn#152
[2] hwdsl2/setup-ipsec-vpn#121
[3] hwdsl2/setup-ipsec-vpn#70
[4] https://github.com/hwdsl2/docker-ipsec-vpn-server#important-notes
[5] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#linux

<!-- gh-comment-id:305511610 --> @hwdsl2 commented on GitHub (Jun 1, 2017): @WJHPrince Hello! The IPsec ID is the "group name" in IPsec/XAuth "aggressive mode". This is not supported by the default configuration - you must edit `/etc/ipsec.conf` for it to work. Please refer to the following issues [1] [2] [3] for details. Read all comments in these issues. Also read the important notes [4]. Instead of the above, an easier alternative is to connect via IPsec/L2TP. You can find more details in [5]. [1] hwdsl2/setup-ipsec-vpn#152 [2] hwdsl2/setup-ipsec-vpn#121 [3] hwdsl2/setup-ipsec-vpn#70 [4] https://github.com/hwdsl2/docker-ipsec-vpn-server#important-notes [5] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#linux
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#26
No description provided.