Client VPN EndPoints - Multiple Users Access

牧云@^-^@ 提交于 2020-04-11 11:55:40

问题


If I want to allow multiple users to Connect through my Client Configuration (.ovpn) files. Do I need to share same Client Configuration (.ovpn) file with all users? So they can access resource on Cloud . If so, How can I provoke users which I don’t want to give access in later point of time?

In case I am doing it wrong or any alternate way, Please do tell. Thanks in advance.

Edit: Trying to set it up in AWS > VPC > Client VPN Endpoints.


回答1:


You can create different certificates for each user.

In your *.ovpn, add the followings:

ca <CA File Name>
cert <Certificate File Name>
key <Private Key File Name>

And distribute these to the users: OVPN(modified), CA, CERT and KEY.

You can also revoke them.

Read this

  • AWS Client VPN Mutual Authentication



回答2:


I think you are using an OpenVPN server for VPN connection,

If Yes!

While creating a VPN user in OpenVPN server you will get 4 files including certificate and .ovpn config file! if you want to share your credentials to others then you have to share all 4 files. but sharing same creds to others it will be problematic because concurrent two machines can't be connected with same user creds, you will face continuous disconnection problem.

The best practice is to create a new user and share.




回答3:


Only way to do so is with Active Directory integration while setting up Client VPN Endpoint.



来源:https://stackoverflow.com/questions/56439329/client-vpn-endpoints-multiple-users-access

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!