Skip to content

StreamLive Input Security Groups โ€‹

Updated

An input security group restricts which publishing IPs may connect to a PUSH input. Allow the public IP of the actual publishing source and attach the group to the Input you created.

Prerequisites โ€‹

  • Confirm your permission to use StreamLive and the target region.
  • Have the public IP of the publishing device or relay service ready.
  • If you use NAT, confirm the egress IP as seen from outside, not the device's private IP.
  • If you relay through StreamLink, use the IP on the StreamLink output side that actually connects to StreamLive.

If you configured user name / password authentication on the RTMP input, you must apply the same credentials on the publishing side.

Console Configuration โ€‹

  1. Open the Security Group menu in the StreamLive console.
  2. Create a new security group and enter a name that makes its purpose clear.
  3. Add the actual publishing address to the IP allowlist. Specify a single IPv4 address in /32 form.
  4. Save, then review the allowlist again.
  5. Select this security group under Input โ†’ Create Input.

Attach the Security Group you created to the target Input.

StreamLive Creating an input security group: name and publishing IP allowlist

The 203.0.113.10/32 on screen is a documentation example. Replace it with your actual publishing public IP. After entering the name and IP, create the group with Confirm, then select it on the Input creation screen.

API Example โ€‹

The 203.0.113.10 below is a documentation address. Replace it with your actual public IP before running the command.

bash
tccli mdl CreateStreamLiveInputSecurityGroup --region ap-seoul \
  --Name demo_ingest_allowed \
  --Whitelist "203.0.113.10/32"
bash
tccli mdl DescribeStreamLiveInputSecurityGroups --region ap-seoul

Check the generated group ID and allowed IPs in the response. You use this ID in SecurityGroupIds when creating an input.

Verifying That It Applies โ€‹

Check pointWhat to verify
Security groupThe actual publishing public IP is included
InputThe security group ID you created is attached
PublishingIngest succeeds from the allowed publishing side
Connection checkVerify the NAT egress IP, relay IP, region, and input address

Register the publishing side's public IP in the allowlist. 0.0.0.0/0 is the setting that allows all IPv4 addresses.

Changes and Wrap-Up โ€‹

Before changing the policy, check the attached Input and publishing IPs. After testing, verify the reference relationships and clean up the dedicated group.

Next Steps and Official Documents โ€‹

Built with VitePress ยท Deployed on Tencent EdgeOne Pages