mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #5] 怎么创建多个用户呢 #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yuyc on GitHub (Jul 20, 2016).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/5
如题,我ipsec的vpn想给多个人用,怎么创建多个用户呢,谢谢
@hwdsl2 commented on GitHub (Jul 20, 2016):
@yuyc To add more users, first get a shell inside the container:
Then edit
/etc/ppp/chap-secrets(for IPsec/L2TP) and/etc/ipsec.d/passwd(for IPsec/XAuth):Refer to [1] for the format of those files. When finished,
exitthe container. Then restart it:[1] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/manage-users-zh.md
@hwdsl2 commented on GitHub (Jul 20, 2016):
@yuyc To add to my previous reply... Before you exit the container, please edit
/opt/src/run.shand comment out the following lines, in order to prevent the config files from being overwritten at restart:Comment out these lines:
@yuyc commented on GitHub (Jul 20, 2016):
好的,谢谢楼主了,没想到回复速度这么快,已经使用你另外一个项目搭建好了ipsec-vpn,后续再跑docker时用你的方法。
@hwdsl2 commented on GitHub (Jul 20, 2016):
👍
@birkhofflee commented on GitHub (Aug 25, 2016):
Any plans for automating this process?
@hwdsl2 commented on GitHub (Aug 25, 2016):
@BirkhoffLee Sorry, not planned at this time.
@wolfwithsheep commented on GitHub (Nov 12, 2020):
Dear, any plans for automating this process recently? And after i created new users, how can i check the users's status?