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

SPW and HPW reset on docker create #88

Closed nOrphf closed 3 years ago

nOrphf commented 3 years ago

Hi

I have created a container using your image, connected to the SoftEtherVPN service their tools. Set server password and hub password. Then I restartet the container and it still works as expected. [EIDT] It does not work after a restart either! [/EDIT] I then recreated the container using the already existing config file - No environment variables is specified. But now the password isn't working - Either for the server nor the Hub. The port setting change I have made to port 444 is kept, so the config file isn't overwritten.

Regards Lars

nOrphf commented 3 years ago

Apparently this is because I omitted the SPW and HPW as I would just set these setting through the Softether VPN program. But apparently you reset the HPW and SPW every time the server starts.

Could this be changed ?

Regards Lars