Using templates with firewall and NAT settings

One of the major problems is that vApp templates do not keep their vApp router settings when they are templated and redeployed. Using templates with firewall and NAT settings is a way around it.

Getting ready

We need a vApp that has been configured with a vApp router and contains some firewall and NAT rules. You can use the vApp you created in the Forwarding an RDP (or SSH) session into an isolated vApp recipe in this chapter.

How to do it...

  1. Make sure the vApp that you want as a template is stopped.
  2. Right-click on the vApp and choose Copy to....
  3. Choose a new Name, OvCD, and a Storage Profile for the vApp:
  4. The vApp will now be copied.
  5. After the vApp is copied, you can deploy it. It is now a full copy, including ...

Get VMware vCloud Director Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.