Gjsify LogoGjsify Logo

Interface SettingIPTunnel_ConstructProps

Hierarchy

Index

Properties

encapsulation_limit?: number

How many additional levels of encapsulation are permitted to be prepended to packets. This property applies only to IPv6 tunnels.

flags?: number

Tunnel flags. Currently, the following values are supported: %NM_IP_TUNNEL_FLAG_IP6_IGN_ENCAP_LIMIT, %NM_IP_TUNNEL_FLAG_IP6_USE_ORIG_TCLASS, %NM_IP_TUNNEL_FLAG_IP6_USE_ORIG_FLOWLABEL, %NM_IP_TUNNEL_FLAG_IP6_MIP6_DEV, %NM_IP_TUNNEL_FLAG_IP6_RCV_DSCP_COPY, %NM_IP_TUNNEL_FLAG_IP6_USE_ORIG_FWMARK. They are valid only for IPv6 tunnels.

flow_label?: number

The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.

input_key?: string

The key used for tunnel input packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.

local?: string

The local endpoint of the tunnel; the value can be empty, otherwise it must contain an IPv4 or IPv6 address.

mode?: number

The tunneling mode, for example %NM_IP_TUNNEL_MODE_IPIP or %NM_IP_TUNNEL_MODE_GRE.

mtu?: number

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple fragments.

output_key?: string

The key used for tunnel output packets; the property is valid only for certain tunnel modes (GRE, IP6GRE). If empty, no key is used.

parent?: string

If given, specifies the parent interface name or parent connection UUID the new device will be bound to so that tunneled packets will only be routed via that interface.

path_mtu_discovery?: boolean

Whether to enable Path MTU Discovery on this tunnel.

remote?: string

The remote endpoint of the tunnel; the value must contain an IPv4 or IPv6 address.

tos?: number

The type of service (IPv4) or traffic class (IPv6) field to be set on tunneled packets.

ttl?: number

The TTL to assign to tunneled packets. 0 is a special value meaning that packets inherit the TTL value.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method