User Tools

Site Tools


paloaltonetworks:api:scripts:firewall_config_sync

This is an old revision of the document!


Firewall Configuration Sync Script

Windows Batch File

Useful for keeping two load balanced VM's in sync in Azure. <code>:: This is a Windows Batch script that can be used to quickly sync the configuration of one Palo Alto Networks firewall with another. :: This is meant to be used between two virtual firewalls in Azure or AWS that are not a high availability pair but are part of a load balanced 'pair'. :: This works when the virtual machines do not have any statically assigned IP addresses within the VM.

::For this script to work, you will need an API key to each firewall. Generate the API key with the following commands. :: https://FIREWALL_1_IP/api/?type=keygen&user=XML_USERNAME_HERE&password=XML_PASSWORD_HERE :: https://FIREWALL_2_IP/api/?type=keygen&user=XML_USERNAME_HERE&password=XML_PASSWORD_HERE

paloaltonetworks/api/scripts/firewall_config_sync.1596795469.txt.gz · Last modified: (external edit)