docker-ikev2-vpn-server icon indicating copy to clipboard operation
docker-ikev2-vpn-server copied to clipboard

Multiple Account/User

Open gaomd opened this issue 9 years ago • 4 comments

Allow multiple account/password for easier management.

gaomd avatar Oct 25 '15 07:10 gaomd

+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 avatar Feb 26 '16 15:02 gembin

@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 avatar Mar 19 '16 03:03 gaomd

@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.

gembin avatar Mar 21 '16 07:03 gembin

Great feature! how about use freeradius to manage multiple accounts and their status.

jairwen avatar Apr 23 '16 17:04 jairwen