| page_title | subcategory | description |
|---|---|---|
netskope_gre_tunnel Resource - terraform-provider-netskope |
GRE (Generic Routing Encapsulation) tunnels provide connectivity between your
network infrastructure and the Netskope cloud. GRE tunnels encapsulate traffic
and route it through Netskope's security services.
This resource supports full CRUD operations for managing GRE tunnel configurations. |
GRE (Generic Routing Encapsulation) tunnels provide connectivity between your network infrastructure and the Netskope cloud. GRE tunnels encapsulate traffic and route it through Netskope's security services.
This resource supports full CRUD operations for managing GRE tunnel configurations.
resource "netskope_gre_tunnel" "my_gretunnel" {
bandwidth = 0
enabled = false
notes = "...my_notes..."
options = {
xff = {
xff_enabled = false
xff_ip_list = [
"..."
]
}
}
pop_names = [
"..."
]
site = "...my_site..."
source_ip = "...my_source_ip..."
source_type = "Machine"
template = "...my_template..."
vendor = "...my_vendor..."
}pop_names(List of String) List of POP names to connect to (use data source netskope_gre_pops_list to get available POPs)site(String) Site name for the tunnel - used to identify the tunnel locationsource_ip(String) Source IP address identity - the public IP of your GRE tunnel endpoint
bandwidth(Number) Bandwidth limit in Mbps. Default: 1000enabled(Boolean) Whether to enable the tunnel. Default: truenotes(String) User-provided notes for the tunneloptions(Attributes) Advanced tunnel options (see below for nested schema)source_type(String) Source device type. must be one of ["User", "Machine", "IoT", "Guest Wifi", "Mixed"]template(String) Configuration template namevendor(String) Network equipment vendor name
tunnel_id(Number) GRE tunnel ID
Optional:
xff(Attributes) X-Forwarded-For header configuration (see below for nested schema)
Optional:
xff_enabled(Boolean) Enable X-Forwarded-For header insertion. Default: falsexff_ip_list(List of String) List of IP addresses for XFF header
Import is supported using the following syntax:
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
import {
to = netskope_gre_tunnel.my_netskope_gre_tunnel
id = 0
}The terraform import command can be used, for example:
terraform import netskope_gre_tunnel.my_netskope_gre_tunnel 0