routeros.InterfaceL2tpClient
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.InterfaceL2tpClient("test", {
connectTo: "127.0.0.1",
password: "bbb",
user: "aaa",
});
import pulumi
import pulumi_routeros as routeros
test = routeros.InterfaceL2tpClient("test",
connect_to="127.0.0.1",
password="bbb",
user="aaa")
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.NewInterfaceL2tpClient(ctx, "test", &routeros.InterfaceL2tpClientArgs{
ConnectTo: pulumi.String("127.0.0.1"),
Password: pulumi.String("bbb"),
User: pulumi.String("aaa"),
})
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.InterfaceL2tpClient("test", new()
{
ConnectTo = "127.0.0.1",
Password = "bbb",
User = "aaa",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceL2tpClient;
import com.pulumi.routeros.InterfaceL2tpClientArgs;
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 InterfaceL2tpClient("test", InterfaceL2tpClientArgs.builder()
.connectTo("127.0.0.1")
.password("bbb")
.user("aaa")
.build());
}
}
resources:
test:
type: routeros:InterfaceL2tpClient
properties:
connectTo: 127.0.0.1
password: bbb
user: aaa
Create InterfaceL2tpClient Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceL2tpClient(name: string, args?: InterfaceL2tpClientArgs, opts?: CustomResourceOptions);
@overload
def InterfaceL2tpClient(resource_name: str,
args: Optional[InterfaceL2tpClientArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceL2tpClient(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
add_default_route: Optional[bool] = None,
allow_fast_path: Optional[bool] = None,
allows: Optional[Sequence[str]] = None,
comment: Optional[str] = None,
connect_to: Optional[str] = None,
default_route_distance: Optional[float] = None,
dial_on_demand: Optional[bool] = None,
disabled: Optional[bool] = None,
interface_l2tp_client_id: Optional[str] = None,
ipsec_secret: Optional[str] = None,
keepalive_timeout: Optional[float] = None,
l2tp_proto_version: Optional[str] = None,
l2tpv3_circuit_id: Optional[str] = None,
l2tpv3_cookie_length: Optional[float] = None,
l2tpv3_digest_hash: Optional[str] = None,
max_mru: Optional[float] = None,
max_mtu: Optional[float] = None,
mrru: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
profile: Optional[str] = None,
src_address: Optional[str] = None,
use_ipsec: Optional[bool] = None,
use_peer_dns: Optional[str] = None,
user: Optional[str] = None)
func NewInterfaceL2tpClient(ctx *Context, name string, args *InterfaceL2tpClientArgs, opts ...ResourceOption) (*InterfaceL2tpClient, error)
public InterfaceL2tpClient(string name, InterfaceL2tpClientArgs? args = null, CustomResourceOptions? opts = null)
public InterfaceL2tpClient(String name, InterfaceL2tpClientArgs args)
public InterfaceL2tpClient(String name, InterfaceL2tpClientArgs args, CustomResourceOptions options)
type: routeros:InterfaceL2tpClient
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 InterfaceL2tpClientArgs
- 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 InterfaceL2tpClientArgs
- 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 InterfaceL2tpClientArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceL2tpClientArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceL2tpClientArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceL2tpClient 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 InterfaceL2tpClient resource accepts the following input properties:
- Add
Default boolRoute - Whether to add L2TP remote address as a default route.
- Allow
Fast boolPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- Allows List<string>
- Allowed authentication methods.
- Comment string
- Connect
To string - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - Default
Route doubleDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- Dial
On boolDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - Disabled bool
- Interface
L2tp stringClient Id - The ID of this resource.
- Ipsec
Secret string - Preshared key used when use-ipsec is enabled.
- Keepalive
Timeout double - Since v6.0rc13, tunnel keepalive timeout in seconds.
- L2tp
Proto stringVersion - Specify protocol version.
- L2tpv3Circuit
Id string - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- double
- Configures an L2TPv3 pseudowire static session cookie.
- L2tpv3Digest
Hash string - Specifies which hash function to be used.
- Max
Mru double - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- Max
Mtu double - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- Mrru string
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- Name string
- Descriptive name of the interface.
- Password string
- Password used for authentication.
- Profile string
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- Src
Address string - Specify source address.
- Use
Ipsec bool - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - Use
Peer stringDns - To use peer dns.
- User string
- User name used for authentication.
- ___
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.
- Add
Default boolRoute - Whether to add L2TP remote address as a default route.
- Allow
Fast boolPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- Allows []string
- Allowed authentication methods.
- Comment string
- Connect
To string - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - Default
Route float64Distance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- Dial
On boolDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - Disabled bool
- Interface
L2tp stringClient Id - The ID of this resource.
- Ipsec
Secret string - Preshared key used when use-ipsec is enabled.
- Keepalive
Timeout float64 - Since v6.0rc13, tunnel keepalive timeout in seconds.
- L2tp
Proto stringVersion - Specify protocol version.
- L2tpv3Circuit
Id string - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- float64
- Configures an L2TPv3 pseudowire static session cookie.
- L2tpv3Digest
Hash string - Specifies which hash function to be used.
- Max
Mru float64 - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- Max
Mtu float64 - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- Mrru string
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- Name string
- Descriptive name of the interface.
- Password string
- Password used for authentication.
- Profile string
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- Src
Address string - Specify source address.
- Use
Ipsec bool - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - Use
Peer stringDns - To use peer dns.
- User string
- User name used for authentication.
- ___
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.
- add
Default BooleanRoute - Whether to add L2TP remote address as a default route.
- allow
Fast BooleanPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows List<String>
- Allowed authentication methods.
- comment String
- connect
To String - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default
Route DoubleDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial
On BooleanDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled Boolean
- interface
L2tp StringClient Id - The ID of this resource.
- ipsec
Secret String - Preshared key used when use-ipsec is enabled.
- keepalive
Timeout Double - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp
Proto StringVersion - Specify protocol version.
- l2tpv3Circuit
Id String - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- Double
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3Digest
Hash String - Specifies which hash function to be used.
- max
Mru Double - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max
Mtu Double - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru String
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name String
- Descriptive name of the interface.
- password String
- Password used for authentication.
- profile String
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- src
Address String - Specify source address.
- use
Ipsec Boolean - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use
Peer StringDns - To use peer dns.
- user String
- User name used for authentication.
- ___
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.
- add
Default booleanRoute - Whether to add L2TP remote address as a default route.
- allow
Fast booleanPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows string[]
- Allowed authentication methods.
- comment string
- connect
To string - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default
Route numberDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial
On booleanDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled boolean
- interface
L2tp stringClient Id - The ID of this resource.
- ipsec
Secret string - Preshared key used when use-ipsec is enabled.
- keepalive
Timeout number - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp
Proto stringVersion - Specify protocol version.
- l2tpv3Circuit
Id string - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- number
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3Digest
Hash string - Specifies which hash function to be used.
- max
Mru number - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max
Mtu number - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru string
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name string
- Descriptive name of the interface.
- password string
- Password used for authentication.
- profile string
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- src
Address string - Specify source address.
- use
Ipsec boolean - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use
Peer stringDns - To use peer dns.
- user string
- User name used for authentication.
- ___
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.
- add_
default_ boolroute - Whether to add L2TP remote address as a default route.
- allow_
fast_ boolpath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows Sequence[str]
- Allowed authentication methods.
- comment str
- connect_
to str - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default_
route_ floatdistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial_
on_ booldemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled bool
- interface_
l2tp_ strclient_ id - The ID of this resource.
- ipsec_
secret str - Preshared key used when use-ipsec is enabled.
- keepalive_
timeout float - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp_
proto_ strversion - Specify protocol version.
- l2tpv3_
circuit_ strid - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- float
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3_
digest_ strhash - Specifies which hash function to be used.
- max_
mru float - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max_
mtu float - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru str
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name str
- Descriptive name of the interface.
- password str
- Password used for authentication.
- profile str
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- src_
address str - Specify source address.
- use_
ipsec bool - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use_
peer_ strdns - To use peer dns.
- user str
- User name used for authentication.
- ___
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.
- add
Default BooleanRoute - Whether to add L2TP remote address as a default route.
- allow
Fast BooleanPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows List<String>
- Allowed authentication methods.
- comment String
- connect
To String - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default
Route NumberDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial
On BooleanDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled Boolean
- interface
L2tp StringClient Id - The ID of this resource.
- ipsec
Secret String - Preshared key used when use-ipsec is enabled.
- keepalive
Timeout Number - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp
Proto StringVersion - Specify protocol version.
- l2tpv3Circuit
Id String - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- Number
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3Digest
Hash String - Specifies which hash function to be used.
- max
Mru Number - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max
Mtu Number - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru String
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name String
- Descriptive name of the interface.
- password String
- Password used for authentication.
- profile String
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- src
Address String - Specify source address.
- use
Ipsec Boolean - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use
Peer StringDns - To use peer dns.
- user String
- User name used for authentication.
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceL2tpClient resource produces the following output properties:
Look up Existing InterfaceL2tpClient Resource
Get an existing InterfaceL2tpClient 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?: InterfaceL2tpClientState, opts?: CustomResourceOptions): InterfaceL2tpClient
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
add_default_route: Optional[bool] = None,
allow_fast_path: Optional[bool] = None,
allows: Optional[Sequence[str]] = None,
comment: Optional[str] = None,
connect_to: Optional[str] = None,
default_route_distance: Optional[float] = None,
dial_on_demand: Optional[bool] = None,
disabled: Optional[bool] = None,
interface_l2tp_client_id: Optional[str] = None,
ipsec_secret: Optional[str] = None,
keepalive_timeout: Optional[float] = None,
l2tp_proto_version: Optional[str] = None,
l2tpv3_circuit_id: Optional[str] = None,
l2tpv3_cookie_length: Optional[float] = None,
l2tpv3_digest_hash: Optional[str] = None,
max_mru: Optional[float] = None,
max_mtu: Optional[float] = None,
mrru: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
profile: Optional[str] = None,
running: Optional[bool] = None,
src_address: Optional[str] = None,
use_ipsec: Optional[bool] = None,
use_peer_dns: Optional[str] = None,
user: Optional[str] = None) -> InterfaceL2tpClient
func GetInterfaceL2tpClient(ctx *Context, name string, id IDInput, state *InterfaceL2tpClientState, opts ...ResourceOption) (*InterfaceL2tpClient, error)
public static InterfaceL2tpClient Get(string name, Input<string> id, InterfaceL2tpClientState? state, CustomResourceOptions? opts = null)
public static InterfaceL2tpClient get(String name, Output<String> id, InterfaceL2tpClientState state, CustomResourceOptions options)
resources: _: type: routeros:InterfaceL2tpClient 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.
- Add
Default boolRoute - Whether to add L2TP remote address as a default route.
- Allow
Fast boolPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- Allows List<string>
- Allowed authentication methods.
- Comment string
- Connect
To string - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - Default
Route doubleDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- Dial
On boolDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - Disabled bool
- Interface
L2tp stringClient Id - The ID of this resource.
- Ipsec
Secret string - Preshared key used when use-ipsec is enabled.
- Keepalive
Timeout double - Since v6.0rc13, tunnel keepalive timeout in seconds.
- L2tp
Proto stringVersion - Specify protocol version.
- L2tpv3Circuit
Id string - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- double
- Configures an L2TPv3 pseudowire static session cookie.
- L2tpv3Digest
Hash string - Specifies which hash function to be used.
- Max
Mru double - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- Max
Mtu double - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- Mrru string
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- Name string
- Descriptive name of the interface.
- Password string
- Password used for authentication.
- Profile string
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- Running bool
- Src
Address string - Specify source address.
- Use
Ipsec bool - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - Use
Peer stringDns - To use peer dns.
- User string
- User name used for authentication.
- ___
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.
- Add
Default boolRoute - Whether to add L2TP remote address as a default route.
- Allow
Fast boolPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- Allows []string
- Allowed authentication methods.
- Comment string
- Connect
To string - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - Default
Route float64Distance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- Dial
On boolDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - Disabled bool
- Interface
L2tp stringClient Id - The ID of this resource.
- Ipsec
Secret string - Preshared key used when use-ipsec is enabled.
- Keepalive
Timeout float64 - Since v6.0rc13, tunnel keepalive timeout in seconds.
- L2tp
Proto stringVersion - Specify protocol version.
- L2tpv3Circuit
Id string - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- float64
- Configures an L2TPv3 pseudowire static session cookie.
- L2tpv3Digest
Hash string - Specifies which hash function to be used.
- Max
Mru float64 - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- Max
Mtu float64 - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- Mrru string
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- Name string
- Descriptive name of the interface.
- Password string
- Password used for authentication.
- Profile string
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- Running bool
- Src
Address string - Specify source address.
- Use
Ipsec bool - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - Use
Peer stringDns - To use peer dns.
- User string
- User name used for authentication.
- ___
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.
- add
Default BooleanRoute - Whether to add L2TP remote address as a default route.
- allow
Fast BooleanPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows List<String>
- Allowed authentication methods.
- comment String
- connect
To String - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default
Route DoubleDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial
On BooleanDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled Boolean
- interface
L2tp StringClient Id - The ID of this resource.
- ipsec
Secret String - Preshared key used when use-ipsec is enabled.
- keepalive
Timeout Double - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp
Proto StringVersion - Specify protocol version.
- l2tpv3Circuit
Id String - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- Double
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3Digest
Hash String - Specifies which hash function to be used.
- max
Mru Double - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max
Mtu Double - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru String
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name String
- Descriptive name of the interface.
- password String
- Password used for authentication.
- profile String
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- running Boolean
- src
Address String - Specify source address.
- use
Ipsec Boolean - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use
Peer StringDns - To use peer dns.
- user String
- User name used for authentication.
- ___
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.
- add
Default booleanRoute - Whether to add L2TP remote address as a default route.
- allow
Fast booleanPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows string[]
- Allowed authentication methods.
- comment string
- connect
To string - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default
Route numberDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial
On booleanDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled boolean
- interface
L2tp stringClient Id - The ID of this resource.
- ipsec
Secret string - Preshared key used when use-ipsec is enabled.
- keepalive
Timeout number - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp
Proto stringVersion - Specify protocol version.
- l2tpv3Circuit
Id string - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- number
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3Digest
Hash string - Specifies which hash function to be used.
- max
Mru number - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max
Mtu number - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru string
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name string
- Descriptive name of the interface.
- password string
- Password used for authentication.
- profile string
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- running boolean
- src
Address string - Specify source address.
- use
Ipsec boolean - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use
Peer stringDns - To use peer dns.
- user string
- User name used for authentication.
- ___
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.
- add_
default_ boolroute - Whether to add L2TP remote address as a default route.
- allow_
fast_ boolpath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows Sequence[str]
- Allowed authentication methods.
- comment str
- connect_
to str - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default_
route_ floatdistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial_
on_ booldemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled bool
- interface_
l2tp_ strclient_ id - The ID of this resource.
- ipsec_
secret str - Preshared key used when use-ipsec is enabled.
- keepalive_
timeout float - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp_
proto_ strversion - Specify protocol version.
- l2tpv3_
circuit_ strid - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- float
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3_
digest_ strhash - Specifies which hash function to be used.
- max_
mru float - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max_
mtu float - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru str
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name str
- Descriptive name of the interface.
- password str
- Password used for authentication.
- profile str
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- running bool
- src_
address str - Specify source address.
- use_
ipsec bool - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use_
peer_ strdns - To use peer dns.
- user str
- User name used for authentication.
- ___
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.
- add
Default BooleanRoute - Whether to add L2TP remote address as a default route.
- allow
Fast BooleanPath - Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
- allows List<String>
- Allowed authentication methods.
- comment String
- connect
To String - Remote address of L2TP server (if the address is in VRF table, VRF should be specified)
/interface l2tp-client
add connect-to=192.168.88.1@vrf1 name=l2tp-out1 user=l2tp-client
. - default
Route NumberDistance - Since v6.2, sets distance value applied to auto created default route, if add-default-route is also selected.
- dial
On BooleanDemand - Connects only when outbound traffic is generated. If selected, then route with gateway address from
10.112.112.0/24
network will be added while connection is not established. - disabled Boolean
- interface
L2tp StringClient Id - The ID of this resource.
- ipsec
Secret String - Preshared key used when use-ipsec is enabled.
- keepalive
Timeout Number - Since v6.0rc13, tunnel keepalive timeout in seconds.
- l2tp
Proto StringVersion - Specify protocol version.
- l2tpv3Circuit
Id String - Set the virtual circuit identifier to bind the one end of the L2TPv3 control channel.
- Number
- Configures an L2TPv3 pseudowire static session cookie.
- l2tpv3Digest
Hash String - Specifies which hash function to be used.
- max
Mru Number - Maximum Receive Unit. Max packet size that L2TP interface will be able to receive without packet fragmentation.
- max
Mtu Number - Maximum Transmission Unit. Max packet size that L2TP interface will be able to send without packet fragmentation.
- mrru String
- Maximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it will be split into multiple packets, allowing full size IP or Ethernet packets to be sent over the tunnel.
- name String
- Descriptive name of the interface.
- password String
- Password used for authentication.
- profile String
- Specifies which PPP profile configuration will be used when establishing the tunnel.
- running Boolean
- src
Address String - Specify source address.
- use
Ipsec Boolean - When this option is enabled, dynamic IPSec peer configuration and policy (transport mode) is added to encapsulate L2TP connection into IPSec tunnel. Multiple L2tp/ipsec clients behind the same NAT will not work in this mode. To achieve such scenario, disable use-ipsec and set static policies for clients with enabled
tunnel=yes
,level=unique
settings. - use
Peer StringDns - To use peer dns.
- user String
- User name used for authentication.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/l2tp/client get [print show-ids]]
$ pulumi import routeros:index/interfaceL2tpClient:InterfaceL2tpClient test *3
#Or you can import a resource using one of its attributes
$ pulumi import routeros:index/interfaceL2tpClient:InterfaceL2tpClient test "name=xxx"
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.