Page 1 of 1

server reverting to old config on restart

Posted: Mon Oct 19, 2015 11:21 am
by markhorrocks
I added new users months ago and all ran fine until the server was restarted and it reverted to an old config file which was missing the newer users. The config version was 133 and the newest was 278. I deleted all the config files in backup, added the new users and copied the current config into vpn_server.config.

Then I restarted the server again and it again reverted to the old config file. I'm at a loss to find where this config came from and how to stop it.

Softether vpn server running on linux using secure NAT. (Can't use bridge as I am on AWS). I installed it using the deb created by Darik Horn. I need to install it from a repo as the server is maintained by puppet.

Any help appreciated.

Re: server reverting to old config on restart

Posted: Thu Oct 29, 2015 6:18 am
by thisjun
Did you re-write the configuration file after stopping the vpn server service?
Is there any alternative vpn server process?

Re: server reverting to old config on restart

Posted: Thu Nov 05, 2015 6:20 pm
by foxez
Maybe its becuase you are restarting the whole server? Settings will only save if you stop the vpn server first, with like "/etc/init.d/Example stop"