siomiz / SoftEtherVPN

A Docker Automated Build Repository for SoftEther VPN
https://hub.docker.com/r/siomiz/softethervpn/
MIT License
454 stars 174 forks source link

DDNS key overwritten at startup in Kubernetes #100

Open maloo opened 2 years ago

maloo commented 2 years ago

Hi, thanks for a great image. Used it for a while in a VM with docker. Recently I needed to move to Kubernetes from the VM. I backed up the vpn_server.config, created a new docker image from your image but with my config included.

Issue: When the container starts up, the DDNS information gets replaced. The Key and LocalHostname gets replaced. The hostname is new at each deploy in Kubernetes and not the same as the old VM if that helps.

Question: Is there any way to make the container not overwrite the DDNS config at startup in a new host (new hostname and ip)?

BR Marcus