简体   繁体   English

客户端 VPN 端点 - 多用户访问

[英]Client VPN EndPoints - Multiple Users Access

If I want to allow multiple users to Connect through my Client Configuration (.ovpn) files.如果我想允许多个用户通过我的客户端配置 (.ovpn) 文件进行连接。 Do I need to share same Client Configuration (.ovpn) file with all users?我是否需要与所有用户共享相同的客户端配置 (.ovpn) 文件? So they can access resource on Cloud .因此他们可以访问 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.编辑:尝试在 AWS > VPC > Client VPN Endpoints 中进行设置。

You can create different certificates for each user.您可以为每个用户创建不同的证书。

In your *.ovpn, add the followings:在您的 *.ovpn 中,添加以下内容:

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.并将这些分发给用户:OVPN(修改)、CA、CERT 和 KEY。

You can also revoke them.您也可以撤销它们。

Read this读这个

I think you are using an OpenVPN server for VPN connection,我认为您正在使用 OpenVPN 服务器进行 VPN 连接,

If Yes!如果是!

While creating a VPN user in OpenVPN server you will get 4 files including certificate and .ovpn config file!在 OpenVPN 服务器中创建 VPN 用户时,您将获得 4 个文件,包括证书和 .ovpn 配置文件! if you want to share your credentials to others then you have to share all 4 files.如果您想与他人共享您的凭据,则必须共享所有 4 个文件。 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.最佳做法是创建一个新用户并共享。

唯一的方法是在设置客户端 VPN 端点时使用 Active Directory 集成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM