Sha256: be3e2f35f42df1435a748f4a96d520c109c02ec715fd41daac23f6c43a864fd1

Contents?: true

Size: 1.57 KB

Versions: 17

Compression:

Stored size: 1.57 KB

Contents

# Example configuration file for defining NAT rules on the vShield Edge Gateway
#
# Note that applying this configuration file will replace the current SNAT/DNAT rules on the vShield Edge Gateway.
#
# Quick tips:
# gateway: should contain the name of the edge gateway (human readable form, not the UUID)
#
# network_id: you can find the UUID for the vcloud network object using vcloud-walker
#
---
gateway: "My gateway name"
nat_service:
  enabled: true
  nat_rules:

  - :id: '65537'
    :enabled: true
    :rule_type: 'DNAT'
    :network_id: '00000000-1111-2222-3333-444444444444'
    :original_ip: '00.01.02.03'
    :original_port: '22'
    :translated_ip: '10.20.30.40'
    :translated_port: '22'
    :protocol: 'tcp'

  - :id: '65538'
    :enabled: true
    :rule_type: 'DNAT'
    :network_id: '00000000-1111-2222-3333-444444444444'
    :original_ip: '00.01.02.03'
    :original_port: '80'
    :translated_ip: '10.20.30.40'
    :translated_port: '80'
    :protocol: 'tcp'

  - :id: '65539'
    :enabled: true
    :rule_type: 'DNAT'
    :network_id: '00000000-1111-2222-3333-444444444444'
    :original_ip: '00.01.02.03'
    :original_port: '443'
    :translated_ip: '10.20.30.40'
    :translated_port: '443'
    :protocol: 'tcp'

  - :id: '65540'
    :enabled: true
    :rule_type: 'SNAT'
    :network_id: '00000000-1111-2222-3333-444444444444'
    :original_ip: '90.100.110.0/24'
    :translated_ip: '00.01.02.03'

  - :id: '65541'
    :enabled: true
    :rule_type: 'SNAT'
    :network_id: '00000000-1111-2222-3333-444444444444'
    :original_ip: '10.20.30.40/24'
    :translated_ip: '00.01.02.03'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
vcloud-edge_gateway-2.1.1 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-2.1.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.5.2 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.5.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.4.1 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.4.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.3.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.2.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.1.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.0.2 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.0.1 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-1.0.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-0.5.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-0.4.0 examples/vcloud-configure-edge/nat-rules.yaml
vcloud-edge_gateway-0.3.0 examples/nat-rules.yaml
vcloud-edge_gateway-0.2.4 examples/nat-rules.yaml
vcloud-edge_gateway-0.2.3 examples/nat-rules.yaml