File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -209,30 +209,12 @@ The following example shows how to add rules to your firewall. For more informat
209
209
az network firewall network-rule create \
210
210
--resource-group $RG \
211
211
--firewall-name $FWNAME \
212
- --collection-name 'asafwnr' -n 'apiudp' \
213
- --protocols 'UDP' \
214
- --source-addresses '*' \
215
- --destination-addresses "AzureCloud" \
216
- --destination-ports 1194 \
217
- --action allow \
218
- --priority 100
219
- az network firewall network-rule create \
220
- --resource-group $RG \
221
- --firewall-name $FWNAME \
222
- --collection-name 'asafwnr' -n 'springcloudtcp' \
212
+ --collection-name 'asafwnr' \
213
+ --name 'springcloudtcp' \
223
214
--protocols 'TCP' \
224
215
--source-addresses '*' \
225
216
--destination-addresses "AzureCloud" \
226
217
--destination-ports 443 445
227
- az network firewall network-rule create \
228
- --resource-group $RG \
229
- --firewall-name $FWNAME \
230
- --collection-name 'asafwnr' \
231
- --name 'time' \
232
- --protocols 'UDP' \
233
- --source-addresses '*' \
234
- --destination-fqdns 'ntp.ubuntu.com' \
235
- --destination-ports 123
236
218
237
219
# Add firewall application rules.
238
220
You can’t perform that action at this time.
0 commit comments