Fortinet white logo
Fortinet white logo

CLI Reference

config vpn l2tp

config vpn l2tp

Configure L2TP.

config vpn l2tp

Description: Configure L2TP.

set eip {ipv4-address}

set sip {ipv4-address}

set status [enable|disable]

set usrgrp {string}

set enforce-ipsec [enable|disable]

set compress [enable|disable]

end

config vpn l2tp

Parameter name

Description

Type

Size

eip

End IP.

ipv4-address

Not Specified

sip

Start IP.

ipv4-address

Not Specified

status

Enable/disable FortiGate as a L2TP gateway.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

usrgrp

User group.

string

Maximum length: 35

enforce-ipsec

Enable/disable IPsec enforcement.

option

-

Option

Description

enable

Enable enforce-ipsec

disable

Disable enforce-ipsec

compress

Enable/disable data compression.

option

-

Option

Description

enable

Enable compress

disable

Disable compress

config vpn l2tp

config vpn l2tp

Configure L2TP.

config vpn l2tp

Description: Configure L2TP.

set eip {ipv4-address}

set sip {ipv4-address}

set status [enable|disable]

set usrgrp {string}

set enforce-ipsec [enable|disable]

set compress [enable|disable]

end

config vpn l2tp

Parameter name

Description

Type

Size

eip

End IP.

ipv4-address

Not Specified

sip

Start IP.

ipv4-address

Not Specified

status

Enable/disable FortiGate as a L2TP gateway.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

usrgrp

User group.

string

Maximum length: 35

enforce-ipsec

Enable/disable IPsec enforcement.

option

-

Option

Description

enable

Enable enforce-ipsec

disable

Disable enforce-ipsec

compress

Enable/disable data compression.

option

-

Option

Description

enable

Enable compress

disable

Disable compress