конфигурация виртуального сетевого устройства (Virtual Network Device configuration)
[L2TP] SECTION OPTIONS
The [L2TP] section only applies for netdevs of kind "l2tp", and
accepts the following keys:
TunnelId=
Specifies the tunnel identifier. Takes an number in the range
1...4294967295. The value used must match the "PeerTunnelId="
value being used at the peer. This setting is compulsory.
PeerTunnelId=
Specifies the peer tunnel id. Takes a number in the range
1...4294967295. The value used must match the "TunnelId="
value being used at the peer. This setting is compulsory.
Remote=
Specifies the IP address of the remote peer. This setting is
compulsory.
Local=
Specifies the IP address of the local interface. Takes an IP
address, or the special values "auto", "static", or
"dynamic". When an address is set, then the local interface
must have the address. If "auto", then one of the addresses
on the local interface is used. Similarly, if "static" or
"dynamic" is set, then one of the static or dynamic addresses
on the local interface is used. Defaults to "auto".
EncapsulationType=
Specifies the encapsulation type of the tunnel. Takes one of
"udp" or "ip".
UDPSourcePort=
Specifies the UDP source port to be used for the tunnel. When
UDP encapsulation is selected it's mandatory. Ignored when IP
encapsulation is selected.
UDPDestinationPort=
Specifies destination port. When UDP encapsulation is
selected it's mandatory. Ignored when IP encapsulation is
selected.
UDPChecksum=
Takes a boolean. When true, specifies that UDP checksum is
calculated for transmitted packets over IPv4.
UDP6ZeroChecksumTx=
Takes a boolean. When true, skip UDP checksum calculation for
transmitted packets over IPv6.
UDP6ZeroChecksumRx=
Takes a boolean. When true, allows incoming UDP packets over
IPv6 with zero checksum field.