-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnsg.txt
202 lines (198 loc) · 20.6 KB
/
nsg.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
Name : NetWorkSecurityGroup_01
ResourceGroupName : myResourceGroup
Location : westeurope
Id : /subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Microsoft.Net
work/networkSecurityGroups/NetWorkSecurityGroup_01
Etag : W/"56663217-9dd2-43b0-bc55-039235b472c5"
ResourceGuid : 2623e14c-c324-4d2a-9050-86d92a4c69b2
ProvisioningState : Succeeded
Tags :
SecurityRules : [
{
"Name": "NSGRule_01",
"Etag": "W/\"56663217-9dd2-43b0-bc55-039235b472c5\"",
"Id": "/subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Mi
crosoft.Network/networkSecurityGroups/NetWorkSecurityGroup_01/securityRules/NSGRule_01",
"Protocol": "Tcp",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"3389"
],
"SourceAddressPrefix": [
"*"
],
"DestinationAddressPrefix": [
"*"
],
"Access": "Allow",
"Priority": 1000,
"Direction": "Inbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [],
"DestinationApplicationSecurityGroups": []
}
]
DefaultSecurityRules : [
{
"Name": "AllowVnetInBound",
"Etag": "W/\"56663217-9dd2-43b0-bc55-039235b472c5\"",
"Id": "/subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Mi
crosoft.Network/networkSecurityGroups/NetWorkSecurityGroup_01/defaultSecurityRules/AllowVnetInBound",
"Description": "Allow inbound traffic from all VMs in VNET",
"Protocol": "*",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"*"
],
"SourceAddressPrefix": [
"VirtualNetwork"
],
"DestinationAddressPrefix": [
"VirtualNetwork"
],
"Access": "Allow",
"Priority": 65000,
"Direction": "Inbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [],
"DestinationApplicationSecurityGroups": []
},
{
"Name": "AllowAzureLoadBalancerInBound",
"Etag": "W/\"56663217-9dd2-43b0-bc55-039235b472c5\"",
"Id": "/subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Mi
crosoft.Network/networkSecurityGroups/NetWorkSecurityGroup_01/defaultSecurityRules/AllowAzureLoadBalancerI
nBound",
"Description": "Allow inbound traffic from azure load balancer",
"Protocol": "*",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"*"
],
"SourceAddressPrefix": [
"AzureLoadBalancer"
],
"DestinationAddressPrefix": [
"*"
],
"Access": "Allow",
"Priority": 65001,
"Direction": "Inbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [],
"DestinationApplicationSecurityGroups": []
},
{
"Name": "DenyAllInBound",
"Etag": "W/\"56663217-9dd2-43b0-bc55-039235b472c5\"",
"Id": "/subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Mi
crosoft.Network/networkSecurityGroups/NetWorkSecurityGroup_01/defaultSecurityRules/DenyAllInBound",
"Description": "Deny all inbound traffic",
"Protocol": "*",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"*"
],
"SourceAddressPrefix": [
"*"
],
"DestinationAddressPrefix": [
"*"
],
"Access": "Deny",
"Priority": 65500,
"Direction": "Inbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [],
"DestinationApplicationSecurityGroups": []
},
{
"Name": "AllowVnetOutBound",
"Etag": "W/\"56663217-9dd2-43b0-bc55-039235b472c5\"",
"Id": "/subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Mi
crosoft.Network/networkSecurityGroups/NetWorkSecurityGroup_01/defaultSecurityRules/AllowVnetOutBound",
"Description": "Allow outbound traffic from all VMs to all VMs in VNET",
"Protocol": "*",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"*"
],
"SourceAddressPrefix": [
"VirtualNetwork"
],
"DestinationAddressPrefix": [
"VirtualNetwork"
],
"Access": "Allow",
"Priority": 65000,
"Direction": "Outbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [],
"DestinationApplicationSecurityGroups": []
},
{
"Name": "AllowInternetOutBound",
"Etag": "W/\"56663217-9dd2-43b0-bc55-039235b472c5\"",
"Id": "/subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Mi
crosoft.Network/networkSecurityGroups/NetWorkSecurityGroup_01/defaultSecurityRules/AllowInternetOutBound",
"Description": "Allow outbound traffic from all VMs to Internet",
"Protocol": "*",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"*"
],
"SourceAddressPrefix": [
"*"
],
"DestinationAddressPrefix": [
"Internet"
],
"Access": "Allow",
"Priority": 65001,
"Direction": "Outbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [],
"DestinationApplicationSecurityGroups": []
},
{
"Name": "DenyAllOutBound",
"Etag": "W/\"56663217-9dd2-43b0-bc55-039235b472c5\"",
"Id": "/subscriptions/756e17b4-f40b-4c03-9ebc-6315e2afbfb5/resourceGroups/myResourceGroup/providers/Mi
crosoft.Network/networkSecurityGroups/NetWorkSecurityGroup_01/defaultSecurityRules/DenyAllOutBound",
"Description": "Deny all outbound traffic",
"Protocol": "*",
"SourcePortRange": [
"*"
],
"DestinationPortRange": [
"*"
],
"SourceAddressPrefix": [
"*"
],
"DestinationAddressPrefix": [
"*"
],
"Access": "Deny",
"Priority": 65500,
"Direction": "Outbound",
"ProvisioningState": "Succeeded",
"SourceApplicationSecurityGroups": [],
"DestinationApplicationSecurityGroups": []
}
]
NetworkInterfaces : []
Subnets : []