This is a little modification I did from the great library Sandrino Di Mattia created: WindowsAzure.IPAddressRestrictions. The main reason of use this type of libraries is to allow you to configure firewall rules from the Azure Settings Panel without the need to republish the package or to RDP into an instance.
My change will allow you to manage firewall rules directly using allow/block actions, setting a specific port or "all" ports, set a specific IP, range of IPs, multiples IPs, Hosts or also All IPs.
See the version list below for details.
Install-Package WindowsAzure.IPAddressRules -Version 1.0.1
dotnet add package WindowsAzure.IPAddressRules --version 1.0.1
<PackageReference Include="WindowsAzure.IPAddressRules" Version="1.0.1" />
paket add WindowsAzure.IPAddressRules --version 1.0.1
This package has no dependencies.
This package is not used by any popular GitHub repositories.