Port configuration

AWS

  • Add the rule to the security group using one of the following commands :

    1. authorize-security-group-ingress (AWS CLI)

      aws ec2 authorize-security-group-ingress --group-id security_group_id --protocol tcp --port 32440-32449 --cidr cidr_ip_range
    2. Grant-EC2SecurityGroupIngress (AWS Tools for Windows PowerShell)

      The Grant-EC2SecurityGroupIngress command needs an IpPermission parameter, which describes the protocol, port range, and IP address range to be used for the security group rule. The following command creates the IpPermission parameter:

      PS C:\> $ip1 = @{ IpProtocol="tcp"; FromPort="32440"; ToPort="32449"; IpRanges="cidr_ip_range" }
      PS C:\> Grant-EC2SecurityGroupIngress -GroupId security_group_id -IpPermission @($ip1)

      Authorizing inbound traffic for your Linux instances

GCP

Configure specified port 32440-32440

  • To show all firewall rules for all networks in your project:

    Go to the Firewall rules page in the Google Cloud Console. Go to the Firewall rules page

  • To show firewall rules in a particular network:

    1. Go to the VPC networks page in the Google Cloud Console. Go to the VPC networks page

    2. Click the Name of a VPC network to go to its details page.

    3. On the details page for the network, click the Firewall rules tab.

      • VPC Network → Firewall rules → Create Firewall rule

      • Protocols and ports → Specified protocols and ports → TCP 32440-32449

        Using firewall rules

Last updated