1. Packages
  2. Routeros Provider
  3. API Docs
  4. Interface6to4
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.Interface6to4

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const test = new routeros.Interface6to4("test", {keepalive: "10,10"});
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.Interface6to4("test", keepalive="10,10")
    
    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.NewInterface6to4(ctx, "test", &routeros.Interface6to4Args{
    			Keepalive: pulumi.String("10,10"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Routeros.Interface6to4("test", new()
        {
            Keepalive = "10,10",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.Interface6to4;
    import com.pulumi.routeros.Interface6to4Args;
    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 test = new Interface6to4("test", Interface6to4Args.builder()
                .keepalive("10,10")
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:Interface6to4
        properties:
          keepalive: 10,10
    

    Create Interface6to4 Resource

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

    Constructor syntax

    new Interface6to4(name: string, args?: Interface6to4Args, opts?: CustomResourceOptions);
    @overload
    def Interface6to4(resource_name: str,
                      args: Optional[Interface6to4Args] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def Interface6to4(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      ___id_: Optional[float] = None,
                      ___path_: Optional[str] = None,
                      clamp_tcp_mss: Optional[bool] = None,
                      comment: Optional[str] = None,
                      disabled: Optional[bool] = None,
                      dont_fragment: Optional[str] = None,
                      dscp: Optional[str] = None,
                      interface6to4_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 NewInterface6to4(ctx *Context, name string, args *Interface6to4Args, opts ...ResourceOption) (*Interface6to4, error)
    public Interface6to4(string name, Interface6to4Args? args = null, CustomResourceOptions? opts = null)
    public Interface6to4(String name, Interface6to4Args args)
    public Interface6to4(String name, Interface6to4Args args, CustomResourceOptions options)
    
    type: routeros:Interface6to4
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Interface6to4 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 Interface6to4 resource accepts the following input properties:

    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.
    Interface6to4Id 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
    Interface name.
    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.
    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.
    Interface6to4Id 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
    Interface name.
    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.
    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.
    interface6to4Id 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
    Interface name.
    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.
    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.
    interface6to4Id 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
    Interface name.
    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.
    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.
    interface6to4_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
    Interface name.
    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.
    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.
    interface6to4Id 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
    Interface name.
    remoteAddress String
    IP address of the remote end of the tunnel.

    Outputs

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

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

    Look up Existing Interface6to4 Resource

    Get an existing Interface6to4 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?: Interface6to4State, opts?: CustomResourceOptions): Interface6to4
    @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,
            clamp_tcp_mss: Optional[bool] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            dont_fragment: Optional[str] = None,
            dscp: Optional[str] = None,
            interface6to4_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,
            running: Optional[bool] = None) -> Interface6to4
    func GetInterface6to4(ctx *Context, name string, id IDInput, state *Interface6to4State, opts ...ResourceOption) (*Interface6to4, error)
    public static Interface6to4 Get(string name, Input<string> id, Interface6to4State? state, CustomResourceOptions? opts = null)
    public static Interface6to4 get(String name, Output<String> id, Interface6to4State state, CustomResourceOptions options)
    resources:  _:    type: routeros:Interface6to4    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    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.
    Interface6to4Id 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
    Interface name.
    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
    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.
    Interface6to4Id 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
    Interface name.
    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
    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.
    interface6to4Id 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
    Interface name.
    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
    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.
    interface6to4Id 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
    Interface name.
    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
    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.
    interface6to4_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
    Interface name.
    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
    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.
    interface6to4Id 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
    Interface name.
    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/6to4 get [print show-ids]]

    $ pulumi import routeros:index/interface6to4:Interface6to4 test *3
    

    #Or you can import a resource using one of its attributes

    $ pulumi import routeros:index/interface6to4:Interface6to4 test "name=6to4-tunnel1"
    

    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.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros