Skip to content

Instantly share code, notes, and snippets.

@laidbackware
Last active May 30, 2019 19:18
Show Gist options
  • Save laidbackware/045df868fab191b8fb26133f567d4a8e to your computer and use it in GitHub Desktop.
Save laidbackware/045df868fab191b8fb26133f567d4a8e to your computer and use it in GitHub Desktop.
nsxt_tutorials_1_answers
---
nsxt_ip_sets:
- display_name: google_dns
ip_addresses:
- '8.8.8.8'
- '8.8.4.4'
state: present
nsxt_firewall_section:
- display_name: Default rules
stateful: True
state: present
rules:
- display_name: Google DNS
action: ALLOW
destinations:
- target_display_name: google_dns
target_type: IPSet
ip_protocol: IPV4
resource_type: FirewallRule
services:
- target_display_name: DNS
target_type: NSService
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment