[GH-ISSUE #412] How do I generate new password? #385

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

Originally created by @Mathiaszero on GitHub (Dec 16, 2023).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/412

Hello, it looks like my ipsec/ike password to connect to vpn might be compromised; is there a way to generate new random password, and how would that be done?

For example, if vpn server is already installed, do I run: wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh?

Thanks in advance

Originally created by @Mathiaszero on GitHub (Dec 16, 2023). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/412 Hello, it looks like my ipsec/ike password to connect to vpn might be compromised; is there a way to generate new random password, and how would that be done? For example, if vpn server is already installed, do I run: `wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh`? Thanks in advance
kerem closed this issue 2026-03-02 08:01:47 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Dec 16, 2023):

@Mathiaszero Hello! Yes, you can run the command to reinstall the VPN and generate a new random password for IPsec/L2TP and IPsec/XAuth ("Cisco IPsec") modes. On the other hand, if you are using the Docker image, you can remove and recreate the Docker container, see project documentation.

<!-- gh-comment-id:1858827604 --> @hwdsl2 commented on GitHub (Dec 16, 2023): @Mathiaszero Hello! Yes, you can run the command to reinstall the VPN and generate a new random password for IPsec/L2TP and IPsec/XAuth ("Cisco IPsec") modes. On the other hand, if you are using the Docker image, you can remove and recreate the Docker container, see project documentation.
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#385
No description provided.