Skip to main content

WAN VPN Feature

Add WAN VPN configuration, including DNS servers, NAT, IPv4 or IPv6 static routes and service routes.

Diagram

Classes

transport_profiles (sdwan.feature_profiles)

NameTypeConstraintMandatoryDefault Value
wan_vpnClass[wan_vpn]No

wan_vpn (sdwan.feature_profiles.transport_profiles)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[^&<>! "]{1,128}$Yes
descriptionStringNo
enhance_ecmp_keyingBooleantrue, falseNo
enhance_ecmp_keying_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
host_mappingsList[host_mappings]No
ipv4_primary_dns_addressIPNo
ipv4_primary_dns_address_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
ipv4_secondary_dns_addressIPNo
ipv4_secondary_dns_address_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
ipv4_static_routesList[ipv4_static_routes]No
ipv6_primary_dns_addressIPNo
ipv6_primary_dns_address_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
ipv6_secondary_dns_addressIPNo
ipv6_secondary_dns_address_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
ipv6_static_routesList[ipv6_static_routes]No
nat_64_v4_poolsList[nat_64_v4_pools]No
servicesListChoice[TE]No

host_mappings (sdwan.feature_profiles.transport_profiles.wan_vpn)

NameTypeConstraintMandatoryDefault Value
hostnameStringmin: 1, max: 32No
hostname_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
ipsListIPNo
ips_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No

ipv4_static_routes (sdwan.feature_profiles.transport_profiles.wan_vpn)

NameTypeConstraintMandatoryDefault Value
administrative_distanceIntegermin: 1, max: 255No
administrative_distance_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
gatewayChoicenextHop, dhcp, null0No
network_addressIPNo
network_address_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
next_hopsList[next_hops]No
subnet_maskChoice255.255.255.255, 255.255.255.254, 255.255.255.252, 255.255.255.248, 255.255.255.240, 255.255.255.224, 255.255.255.192, 255.255.255.128, 255.255.255.0, 255.255.254.0, 255.255.252.0, 255.255.248.0, 255.255.240.0, 255.255.224.0, 255.255.192.0, 255.255.128.0, 255.255.0.0, 255.254.0.0, 255.252.0.0, 255.240.0.0, 255.224.0.0, 255.192.0.0, 255.128.0.0, 255.0.0.0, 254.0.0.0, 252.0.0.0, 248.0.0.0, 240.0.0.0, 224.0.0.0, 192.0.0.0, 128.0.0.0, 0.0.0.0No
subnet_mask_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No

ipv6_static_routes (sdwan.feature_profiles.transport_profiles.wan_vpn)

NameTypeConstraintMandatoryDefault Value
natChoiceNAT64, NAT66No
next_hopsList[next_hops]No
null0Booleantrue, falseNo
prefixStringRegex: ((^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/)(\b([0-9]{1,2}|1[01][0-9]|12[0-8])\b)$))No
prefix_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No

nat_64_v4_pools (sdwan.feature_profiles.transport_profiles.wan_vpn)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 32No
name_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
overloadBooleantrue, falseNo
overload_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
range_endIPNo
range_end_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
range_startIPNo
range_start_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No

next_hops (sdwan.feature_profiles.transport_profiles.wan_vpn.ipv4_static_routes)

NameTypeConstraintMandatoryDefault Value
addressIPNo
address_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
administrative_distanceIntegermin: 1, max: 255No
administrative_distance_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No

next_hops (sdwan.feature_profiles.transport_profiles.wan_vpn.ipv6_static_routes)

NameTypeConstraintMandatoryDefault Value
addressIPNo
address_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No
administrative_distanceIntegermin: 1, max: 255No
administrative_distance_variableStringRegex: ^[./\[\]a-zA-Z0-9_-]{1,64}$No

Examples

sdwan:
feature_profiles:
transport_profiles:
- name: transport
description: this is a test transport profile
wan_vpn:
name: wan_vpn
description: VPN 0 configuration
host_mappings:
- hostname: vbond.local
ips:
- 10.0.0.1
- 10.0.0.2
ipv4_primary_dns_address_variable: vpn0_dns_primary
ipv4_secondary_dns_address_variable: vpn0_dns_secondary
enhance_ecmp_keying: true
ipv4_static_routes:
- network_address: 0.0.0.0
subnet_mask: 0.0.0.0
next_hops:
- address_variable: vpn0_ipv4_default_route_nexthop1_ip
- address_variable: vpn0_ipv4_default_route_nexthop2_ip
services:
- TE