Questions tagged [inbound-security-rule]

Inbound Security Rules controls the inbound network traffic to the Network Security Group in Microsoft Azure Cloud Platform

Inbound network traffic to a Network Security Group can be controlled by applying Inbound Security Rules. This rules are actually set on different ports(port no 1024-65535) of the Network Security Group. We can allow or deny the network traffic from specific port(or range of ports), allow or deny network into the specific port(or range of ports), set priority on the rules etc.

Rules have eight major components:

  1. Name of the rule
  2. Priority
  3. Source
  4. protocol
  5. Source Port Range
  6. Destination
  7. Destination Port Range
  8. Action
29 questions
0
votes
2 answers

Add a Security Group to the Inbound Rule of another Security Group as a Source with Terraform (AWS)

I couldn't add the security group "sg0" to the inbound rule of another security group "sg1" as a source with Terraform. (I use Terraform v0.15.4) This is the code I tried: resource "aws_security_group" "sg0" { .......... } resource…
0
votes
1 answer

Accessing IIS website from another device without creating an inbound rule

I have deployed my flask application on IIS using the IP address. I want to access this from another PC in the network, I have read about creating an inbound rule and allowing the access but is there a safer way to do this?
0
votes
1 answer

Azure Virtual Machine Inbound rule for only specified IP adress

service is running on port x in Azure VM. In order to access service from outside VM inbound rule is requred. However, it opens access to all ip addresses which means that anyone can access the service. Is it possible to set an allowed IP on port…
0
votes
2 answers

Azure network security group Add source ip prefixes using variable

I am trying to add a list of IP addresses (using a variable) to a security rule during deployment. Azure CLI isn't accepting the values as a variable, however the same value works if added manually. Has anyone come across a similar issue? or know of…
SANM2009
  • 1,918
  • 2
  • 12
  • 30
0
votes
0 answers

AWS Public DNS not accessible

I'm new to using AWS EC2. I'm trying to deploy my web application. I am unable to access the application through public IP. But, http://ec2-XX-XX-XXX-XX.us-west-2.compute.amazonaws.com:4200 is accessible when inside the EC2 region, however…
0
votes
1 answer

Open 27017 port to another EC2 running in same VPC

I have two ec2 instances running in the same VPC private IP addresses of them are as follows 10.0.1.74 - MongoDB intance 10.0.0.38 - Server 01 10.0.1.48 - Server 02 Is there a way to allow/open port 27017 of MongoDb instance to all the IP…
Viz
  • 141
  • 2
  • 9
0
votes
2 answers

Opening a port of a azure VM through terminal of VM

I have a vm up and running on azure. I want to open a port of that VM. Currently I dont have access to azure portal. but I have access to the VM through ssh. I have all the permissions. Is it possible to open an inbound/outbound port to outside?
chink
  • 1,505
  • 3
  • 28
  • 70
0
votes
1 answer

Setup NSG inbound security rules for multiple VM

In my NSG I have inbound security rules like this: Priority Name Port Protocol Destination -------- ---- ---- -------- ----------- 340 RDP 3389 TCP 10.0.0.4 350 Tn 22 TCP 10.0.0.5 In NSG -> Network Interfaces Name Public…
s k
  • 4,342
  • 3
  • 42
  • 61
0
votes
1 answer

Setting inbound ip address filter for ssh

I'm trying to set an one IP adresss (dynamic) as the source of inbound ssh rules for azure VM. But when its set to "any" works perfectly but given my local dynamic IP doesn't work(connection timed out). Also tried giving CIDR block for source, but…
M Gopi
  • 81
  • 1
  • 14
0
votes
1 answer

Azure NSG rules for traffic from an Azure Cloud Service

I have an Azure cloud service and a Azure Kubernetes Service(AKS). AKS is within a NSG. I would like to create rules in network security group(NSG) to restrict inbound traffic from only the specific cloud service. Since cloud service IP could…
0
votes
1 answer

Accessing Azure VM port from Outside of VM

As we know there are simple steps to give access to any VM-port from outside. Here is the steps I have already covered : Open VM instance and run the server on port 80 and checked the localhost is running in the local browse, added port 80 in the…
0
votes
1 answer

Export and import Inbound Security Rules in Microsoft Azure

I've to Delete an existing Virtual Machine in Azure and the Network Security Group associated with the VM. But I need to store the Inbound Security Rules of the Network Security Group that I'm gonna Delete. Is there any way to export the Inbound…
-1
votes
2 answers

Security Group in AWS Cloud

As we know security groups are statefull in AWS Cloud. while launching ec2 instances when we allow inbound rules for specific port it must allow that specific traffic at outbound instead it will allowing all tarffic why is this so? launched ec2…
-1
votes
1 answer

Security Group update to allow AWS Lambda function that is not attached to any VPC

There are two applications. One application is developed through AWS Lambda (present in Account A) and other application is deployed in ECS Fargate (present in Account B) in AWS. The first application (AWS Lambda) is consuming an API (from the…
1
2