PARALLAX

fortios_vpn_ipsec_phase2_interface

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_ipsec_phase2_interface

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

NameTypeRequiredDefaultDescription
access_tokenstr
enable_logboolfalse
member_pathstr
member_statestr
statestryes
vdomstrroot
vpn_ipsec_phase2_interfacedict

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_vpn_ipsec_phase2_interface:
    access_token: '{{ fortios_access_token }}'
    state: present
    vdom: root
    vpn_ipsec_phase2_interface:
        add_route: phase1
        addke1: "0"
        addke2: "0"
        addke3: "0"
        addke4: "0"
        addke5: "0"
        addke6: "0"
        addke7: "0"
        auto_discovery_forwarder: phase1
        auto_discovery_sender: phase1
        auto_negotiate: enable
        dhcp_ipsec: enable
        dhgrp: "1"
        diffserv: enable
        dst_addr_type: subnet
        dst_port: "0"
        encapsulation: tunnel-mode
        inbound_dscp_copy: phase1
        initiator_ts_narrow: enable
        ipv4_df: enable
        keepalive: enable
        keylife_type: seconds
        keylifekbs: "5120"
        keylifeseconds: "43200"
        l2tp: enable
        name: default_name_38
        pfs: enable
        proposal: null-md5
        protocol: "0"
        replay: enable
        route_overlap: use-old
        single_source: enable
        src_addr_type: subnet
        src_port: "0"
  name: Configure VPN autokey tunnel.
Search
    ↑ ↓ move↵ openesc close