Skip to Main Content
Hands-On Linux Administration on Azure
book

Hands-On Linux Administration on Azure

by Frederik Vos
August 2018
Intermediate to advanced content levelIntermediate to advanced
410 pages
9h 18m
English
Packt Publishing
Content preview from Hands-On Linux Administration on Azure

Network Security Group

Network Security Group (NSG) is the next component we need to take care of. It is essentially access control lists that are associated with a subnet. It also provides port forwarding to the virtual machines or containers. The rules are applied to all interfaces that are attached to the subnet.

The first step is to create an NSG:

New-AzureRMNetworkSecurityGroup `  -ResourceGroupName <resource group>`  -Location <location> -Name <nsg name>

For example:

$myNSG = New-AzureRMNetworkSecurityGroup `  -ResourceGroupName $myRG -Location $myLocation -Name myNSG1

In the enormous output, you can find several sections; one of the sections is named Default Security Rules. This section contains a set of rules, given in order of priority: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Linux Administration on Azure - Second Edition

Hands-On Linux Administration on Azure - Second Edition

Rithin Skaria, Kamesh Ganesan, Frederik Vos
Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Red Hat Enterprise Linux 8 Administration

Red Hat Enterprise Linux 8 Administration

Miguel Pérez Colino, Pablo Iranzo Gómez, Scott McCarty

Publisher Resources

ISBN: 9781789130966Supplemental Content