11-04-2021 11:42 AM
Hello, I am wondering if it is possible to set a template variable for for a GlobalProtect tunnel interface? I am trying to configure 2 Gateways and 1 portal for the template. I have reference the Multiple Gateway document. (https://docs.paloaltonetworks.com/globalprotect/10-0/globalprotect-admin/globalprotect-quick-configs... ) I was just curious if this is possible, or does this need to be configured on each firewall hosting a Gateway. Thank you for any guidance.
05-15-2023 11:22 AM - edited 05-15-2023 01:08 PM
Hi @ian.whittington and @DDmchk ,
Here is my use case. I use a "global" template to push my GP config out to all NGFWs. There are 7 items that are unique to each NGFW:
It works great. I could use a variable for every item marked with an *. I cannot for the interfaces. Because I cannot use variable, I have to override the template stack configuration for every NGFW (or HA pair). Once overridden, some new configurations have to be added to each template stack configuration many times as opposed to the global configuration once. If I could use variables for the interfaces, I can go back to the configure-once, push-to-all design.
UPDATE: I used variables for the portal agent external gateway configuration, and then I reverted the agent section only in the template stack. Now any agent changes are pushed to all.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!