In this post, we will fetch firewall rules from SQL Azure. Each Database server in SQL Azure is associated with one or more firewall rules. Each firewall rules have,

1. Name

2. Start IP Address

3. End IP Address

Firewall rules can be fetched by querying against Master Database.

To retrieve firewall rules login to SQL Azure portal and open Database Manager for Master database.

clip_image001

Read here about SQL Azure portal and working with Database Manager

Once, Database manager is open select new query option and execute below select statement.

select name , start_ip_address, end_ip_address FROM sys.FireWall_rules

On successful execution on select statement all firewall rules will get listed as below,

clip_image003

In coming article we will fetch firewall rules programmatically.

Advertisements

2 thoughts on “Listing Firewall rules in SQL Azure

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s