1. Packages
  2. Routeros Provider
  3. API Docs
  4. InterfaceGre
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros

routeros.InterfaceGre

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";

const greHq = new routeros.InterfaceGre("greHq", {
    disabled: true,
    remoteAddress: "10.77.3.26",
});
Copy
import pulumi
import pulumi_routeros as routeros

gre_hq = routeros.InterfaceGre("greHq",
    disabled=True,
    remote_address="10.77.3.26")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := routeros.NewInterfaceGre(ctx, "greHq", &routeros.InterfaceGreArgs{
			Disabled:      pulumi.Bool(true),
			RemoteAddress: pulumi.String("10.77.3.26"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;

return await Deployment.RunAsync(() => 
{
    var greHq = new Routeros.InterfaceGre("greHq", new()
    {
        Disabled = true,
        RemoteAddress = "10.77.3.26",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceGre;
import com.pulumi.routeros.InterfaceGreArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var greHq = new InterfaceGre("greHq", InterfaceGreArgs.builder()
            .disabled(true)
            .remoteAddress("10.77.3.26")
            .build());

    }
}
Copy
resources:
  greHq:
    type: routeros:InterfaceGre
    properties:
      disabled: true
      remoteAddress: 10.77.3.26
Copy

Create InterfaceGre Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new InterfaceGre(name: string, args?: InterfaceGreArgs, opts?: CustomResourceOptions);
@overload
def InterfaceGre(resource_name: str,
                 args: Optional[InterfaceGreArgs] = None,
                 opts: Optional[ResourceOptions] = None)

@overload
def InterfaceGre(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 ___id_: Optional[float] = None,
                 ___path_: Optional[str] = None,
                 allow_fast_path: Optional[bool] = None,
                 clamp_tcp_mss: Optional[bool] = None,
                 comment: Optional[str] = None,
                 disabled: Optional[bool] = None,
                 dont_fragment: Optional[str] = None,
                 dscp: Optional[str] = None,
                 interface_gre_id: Optional[str] = None,
                 ipsec_secret: Optional[str] = None,
                 keepalive: Optional[str] = None,
                 local_address: Optional[str] = None,
                 mtu: Optional[str] = None,
                 name: Optional[str] = None,
                 remote_address: Optional[str] = None)
func NewInterfaceGre(ctx *Context, name string, args *InterfaceGreArgs, opts ...ResourceOption) (*InterfaceGre, error)
public InterfaceGre(string name, InterfaceGreArgs? args = null, CustomResourceOptions? opts = null)
public InterfaceGre(String name, InterfaceGreArgs args)
public InterfaceGre(String name, InterfaceGreArgs args, CustomResourceOptions options)
type: routeros:InterfaceGre
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args InterfaceGreArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args InterfaceGreArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args InterfaceGreArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args InterfaceGreArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InterfaceGreArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

InterfaceGre Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The InterfaceGre resource accepts the following input properties:

AllowFastPath bool
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
ClampTcpMss bool
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
Comment string
Disabled bool
DontFragment string
Dscp string
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
InterfaceGreId string
The ID of this resource.
IpsecSecret string
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
Keepalive string
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
LocalAddress string
Source address of the tunnel packets, local on the router.
Mtu string
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
Name string
RemoteAddress string
IP address of the remote end of the tunnel.
___id_ double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
AllowFastPath bool
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
ClampTcpMss bool
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
Comment string
Disabled bool
DontFragment string
Dscp string
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
InterfaceGreId string
The ID of this resource.
IpsecSecret string
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
Keepalive string
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
LocalAddress string
Source address of the tunnel packets, local on the router.
Mtu string
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
Name string
RemoteAddress string
IP address of the remote end of the tunnel.
___id_ float64
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
___id_ Double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allowFastPath Boolean
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clampTcpMss Boolean
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment String
disabled Boolean
dontFragment String
dscp String
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interfaceGreId String
The ID of this resource.
ipsecSecret String
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive String
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
localAddress String
Source address of the tunnel packets, local on the router.
mtu String
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name String
remoteAddress String
IP address of the remote end of the tunnel.
___id_ number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allowFastPath boolean
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clampTcpMss boolean
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment string
disabled boolean
dontFragment string
dscp string
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interfaceGreId string
The ID of this resource.
ipsecSecret string
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive string
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
localAddress string
Source address of the tunnel packets, local on the router.
mtu string
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name string
remoteAddress string
IP address of the remote end of the tunnel.
___id_ float
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ str
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allow_fast_path bool
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clamp_tcp_mss bool
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment str
disabled bool
dont_fragment str
dscp str
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interface_gre_id str
The ID of this resource.
ipsec_secret str
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive str
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
local_address str
Source address of the tunnel packets, local on the router.
mtu str
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name str
remote_address str
IP address of the remote end of the tunnel.
___id_ Number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
allowFastPath Boolean
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clampTcpMss Boolean
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment String
disabled Boolean
dontFragment String
dscp String
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interfaceGreId String
The ID of this resource.
ipsecSecret String
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive String
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
localAddress String
Source address of the tunnel packets, local on the router.
mtu String
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name String
remoteAddress String
IP address of the remote end of the tunnel.

Outputs

All input properties are implicitly available as output properties. Additionally, the InterfaceGre resource produces the following output properties:

ActualMtu double
Id string
The provider-assigned unique ID for this managed resource.
L2mtu double
Layer2 Maximum transmission unit. See.
Running bool
ActualMtu float64
Id string
The provider-assigned unique ID for this managed resource.
L2mtu float64
Layer2 Maximum transmission unit. See.
Running bool
actualMtu Double
id String
The provider-assigned unique ID for this managed resource.
l2mtu Double
Layer2 Maximum transmission unit. See.
running Boolean
actualMtu number
id string
The provider-assigned unique ID for this managed resource.
l2mtu number
Layer2 Maximum transmission unit. See.
running boolean
actual_mtu float
id str
The provider-assigned unique ID for this managed resource.
l2mtu float
Layer2 Maximum transmission unit. See.
running bool
actualMtu Number
id String
The provider-assigned unique ID for this managed resource.
l2mtu Number
Layer2 Maximum transmission unit. See.
running Boolean

Look up Existing InterfaceGre Resource

Get an existing InterfaceGre resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: InterfaceGreState, opts?: CustomResourceOptions): InterfaceGre
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ___id_: Optional[float] = None,
        ___path_: Optional[str] = None,
        actual_mtu: Optional[float] = None,
        allow_fast_path: Optional[bool] = None,
        clamp_tcp_mss: Optional[bool] = None,
        comment: Optional[str] = None,
        disabled: Optional[bool] = None,
        dont_fragment: Optional[str] = None,
        dscp: Optional[str] = None,
        interface_gre_id: Optional[str] = None,
        ipsec_secret: Optional[str] = None,
        keepalive: Optional[str] = None,
        l2mtu: Optional[float] = None,
        local_address: Optional[str] = None,
        mtu: Optional[str] = None,
        name: Optional[str] = None,
        remote_address: Optional[str] = None,
        running: Optional[bool] = None) -> InterfaceGre
func GetInterfaceGre(ctx *Context, name string, id IDInput, state *InterfaceGreState, opts ...ResourceOption) (*InterfaceGre, error)
public static InterfaceGre Get(string name, Input<string> id, InterfaceGreState? state, CustomResourceOptions? opts = null)
public static InterfaceGre get(String name, Output<String> id, InterfaceGreState state, CustomResourceOptions options)
resources:  _:    type: routeros:InterfaceGre    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ActualMtu double
AllowFastPath bool
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
ClampTcpMss bool
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
Comment string
Disabled bool
DontFragment string
Dscp string
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
InterfaceGreId string
The ID of this resource.
IpsecSecret string
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
Keepalive string
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
L2mtu double
Layer2 Maximum transmission unit. See.
LocalAddress string
Source address of the tunnel packets, local on the router.
Mtu string
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
Name string
RemoteAddress string
IP address of the remote end of the tunnel.
Running bool
___id_ double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
ActualMtu float64
AllowFastPath bool
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
ClampTcpMss bool
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
Comment string
Disabled bool
DontFragment string
Dscp string
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
InterfaceGreId string
The ID of this resource.
IpsecSecret string
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
Keepalive string
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
L2mtu float64
Layer2 Maximum transmission unit. See.
LocalAddress string
Source address of the tunnel packets, local on the router.
Mtu string
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
Name string
RemoteAddress string
IP address of the remote end of the tunnel.
Running bool
___id_ float64
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
___id_ Double
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
actualMtu Double
allowFastPath Boolean
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clampTcpMss Boolean
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment String
disabled Boolean
dontFragment String
dscp String
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interfaceGreId String
The ID of this resource.
ipsecSecret String
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive String
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
l2mtu Double
Layer2 Maximum transmission unit. See.
localAddress String
Source address of the tunnel packets, local on the router.
mtu String
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name String
remoteAddress String
IP address of the remote end of the tunnel.
running Boolean
___id_ number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ string
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
actualMtu number
allowFastPath boolean
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clampTcpMss boolean
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment string
disabled boolean
dontFragment string
dscp string
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interfaceGreId string
The ID of this resource.
ipsecSecret string
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive string
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
l2mtu number
Layer2 Maximum transmission unit. See.
localAddress string
Source address of the tunnel packets, local on the router.
mtu string
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name string
remoteAddress string
IP address of the remote end of the tunnel.
running boolean
___id_ float
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ str
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
actual_mtu float
allow_fast_path bool
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clamp_tcp_mss bool
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment str
disabled bool
dont_fragment str
dscp str
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interface_gre_id str
The ID of this resource.
ipsec_secret str
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive str
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
l2mtu float
Layer2 Maximum transmission unit. See.
local_address str
Source address of the tunnel packets, local on the router.
mtu str
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name str
remote_address str
IP address of the remote end of the tunnel.
running bool
___id_ Number
Resource ID type (.id / name). This is an internal service field, setting a value is not required.
___path_ String
Resource path for CRUD operations. This is an internal service field, setting a value is not required.
actualMtu Number
allowFastPath Boolean
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
clampTcpMss Boolean
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
comment String
disabled Boolean
dontFragment String
dscp String
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
interfaceGreId String
The ID of this resource.
ipsecSecret String
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
keepalive String
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
l2mtu Number
Layer2 Maximum transmission unit. See.
localAddress String
Source address of the tunnel packets, local on the router.
mtu String
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
name String
remoteAddress String
IP address of the remote end of the tunnel.
running Boolean

Import

#The ID can be found via API or the terminal

#The command for the terminal is -> :put [/interface/gre get [print show-ids]]

$ pulumi import routeros:index/interfaceGre:InterfaceGre gre_hq "*1"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
routeros terraform-routeros/terraform-provider-routeros
License
Notes
This Pulumi package is based on the routeros Terraform Provider.