fortios_vpn_l2tp
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_vpn_l2tp
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| vdom | str | root | ||
| vpn_l2tp | dict |
Example
yaml
- fortinet.fortios.fortios_vpn_l2tp:
vdom: root
vpn_l2tp:
compress: enable
enforce_ipsec: enable
hello_interval: "60"
lcp_echo_interval: "5"
lcp_max_echo_fails: "3"
status: enable
name: Configure L2TP.