Microsoft maintains an IP listing of their geographically dispersed Azure data centers here https://www.microsoft.com/en-us/download/details.aspx?id=41653
It would be nice if this could be incorporated into the Fortigate Geography based addressing lists as a objects I can reference in policies.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Would be a wicked good feature. A more overarching one would be the ability to make an object that is dynamic and pulls from outside sources every so often (say a text file or whatever). Palo's do that and it is very useful.
Mike Pruett
Heck, even if we had to manually update/import the XML ourselves to bypass the "trust something external that is not digitally signed", that would still be very helpful.
Here's and ideal, not pretty but it will work, but you could do a script maker and run the file thru a loop and then execute the config in a batch sed would be the ideal tool to clean up the lines. I've did in a rush a few times when a end user provider file need a quick white|blacklisted against a mass of addresses.
e.g
echo " Let's my our firewall address objects for MS AZURE DCs";
for p in `cat PublicIPs_20170321.xml| grep IpRange | cut -d "=" -f2 | awk '{print$1}' | sed -e 's/"//g' ` ;
do echo -e " config firewall address\n edit $p\n set subnet $p\n set tag MSAZURE_DC\n set comment MS_AZURE_DC\n end\n" ;
done
I've done the above for other address that was listed in a text or xml format. Great for a quick blast but would be very tiring to manage if the listing was dynamically changing.
If you where created you could use unix curl or wget the link and recompile the listing on demand and upload the batch.
YMMV and it could be perl or python with a experienced scripter
;)
Ken
PCNSE
NSE
StrongSwan
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1713 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.