docker-ikev2-vpn-server
docker-ikev2-vpn-server copied to clipboard
Multiple Account/User
Allow multiple account/password for easier management.
+1
Any plan or any suggestions to support multiple accounts?
Perhaps, just use sqlite
plugin, but I still don't how to setup the db after reading the doc from strongswan website.
Where to put schema sql file and data sql files, and how to insert new data at runtime, any ideas?
@gembin I was initially plan to write a helper bash script to cope with /etc/ipsec.secrets
file. 😂
Where is the URL to your SQLite solution? I've browsed the strongSwan website and all SQLite articles seems irrelevant.
@gaomd Not sure if it's the right article. https://wiki.strongswan.org/projects/strongswan/wiki/SQLite https://wiki.strongswan.org/projects/strongswan/repository/entry/src/pool/sqlite.sql
cat sqlite.sql | sqlite3 ipsec.db
And i think the strongswan should use ipsec.db
instead of ipsec.secrets
if the sqlite is configured.
Great feature! how about use freeradius to manage multiple accounts and their status.