Apply a security group to a target network in AWS Client VPN - AWS Client VPN

Apply a security group to a target network in AWS Client VPN

When you create a Client VPN endpoint, you can specify the security groups to apply to the target network. When you associate the first target network with a Client VPN endpoint, we automatically apply the default security group of the VPC in which the associated subnet is located. For more information, see Security groups.

You can change the security groups for the Client VPN endpoint. The security group rules that you require depend on the kind of VPN access you want to configure. For more information, see Scenarios and examples for Client VPN.

To apply a security group to a target network (console)
  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. In the navigation pane, choose Client VPN Endpoints.

  3. Select the Client VPN endpoint to which to apply the security groups.

  4. Choose Security Groups, and then choose Apply Security Groups.

  5. Select the appropriate security group(s) from Security group IDs.

  6. Choose Apply Security Groups.

To apply a security group to a target network (AWS CLI)

Use the apply-security-groups-to-client-vpn-target-network command.