fortios.vpn/ipsec.Phase2interface
Explore with Pulumi AI
Configure VPN autokey tunnel.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname3 = new fortios.vpn.ipsec.Phase1interface("trname3", {
acctVerify: "disable",
addGwRoute: "disable",
addRoute: "enable",
assignIp: "enable",
assignIpFrom: "range",
authmethod: "psk",
autoDiscoveryForwarder: "disable",
autoDiscoveryPsk: "disable",
autoDiscoveryReceiver: "disable",
autoDiscoverySender: "disable",
autoNegotiate: "enable",
certIdValidation: "enable",
childlessIke: "disable",
clientAutoNegotiate: "disable",
clientKeepAlive: "disable",
defaultGw: "0.0.0.0",
defaultGwPriority: 0,
dhgrp: "14 5",
digitalSignatureAuth: "disable",
distance: 15,
dnsMode: "manual",
dpd: "on-demand",
dpdRetrycount: 3,
dpdRetryinterval: "20",
eap: "disable",
eapIdentity: "use-id-payload",
encapLocalGw4: "0.0.0.0",
encapLocalGw6: "::",
encapRemoteGw4: "0.0.0.0",
encapRemoteGw6: "::",
encapsulation: "none",
encapsulationAddress: "ike",
enforceUniqueId: "disable",
exchangeInterfaceIp: "disable",
exchangeIpAddr4: "0.0.0.0",
exchangeIpAddr6: "::",
forticlientEnforcement: "disable",
fragmentation: "enable",
fragmentationMtu: 1200,
groupAuthentication: "disable",
haSyncEspSeqno: "enable",
idleTimeout: "disable",
idleTimeoutinterval: 15,
ikeVersion: "1",
includeLocalLan: "disable",
"interface": "port3",
ipVersion: "4",
ipv4DnsServer1: "0.0.0.0",
ipv4DnsServer2: "0.0.0.0",
ipv4DnsServer3: "0.0.0.0",
ipv4EndIp: "0.0.0.0",
ipv4Netmask: "255.255.255.255",
ipv4StartIp: "0.0.0.0",
ipv4WinsServer1: "0.0.0.0",
ipv4WinsServer2: "0.0.0.0",
ipv6DnsServer1: "::",
ipv6DnsServer2: "::",
ipv6DnsServer3: "::",
ipv6EndIp: "::",
ipv6Prefix: 128,
ipv6StartIp: "::",
keepalive: 10,
keylife: 86400,
localGw: "0.0.0.0",
localGw6: "::",
localidType: "auto",
meshSelectorType: "disable",
mode: "main",
modeCfg: "disable",
monitorHoldDownDelay: 0,
monitorHoldDownTime: "00:00",
monitorHoldDownType: "immediate",
monitorHoldDownWeekday: "sunday",
nattraversal: "enable",
negotiateTimeout: 30,
netDevice: "disable",
passiveMode: "disable",
peertype: "any",
ppk: "disable",
priority: 0,
proposal: "aes128-sha256 aes256-sha256 aes128-sha1 aes256-sha1",
psksecret: "eweeeeeeeecee",
reauth: "disable",
rekey: "enable",
remoteGw: "2.22.2.2",
remoteGw6: "::",
rsaSignatureFormat: "pkcs1",
savePassword: "disable",
sendCertChain: "enable",
signatureHashAlg: "sha2-512 sha2-384 sha2-256 sha1",
suiteB: "disable",
tunnelSearch: "selectors",
type: "static",
unitySupport: "enable",
wizardType: "custom",
xauthtype: "disable",
});
const trname2 = new fortios.vpn.ipsec.Phase2interface("trname2", {
addRoute: "phase1",
autoDiscoveryForwarder: "phase1",
autoDiscoverySender: "phase1",
autoNegotiate: "disable",
dhcpIpsec: "disable",
dhgrp: "14 5",
dstAddrType: "subnet",
dstEndIp6: "::",
dstPort: 0,
dstSubnet: "0.0.0.0 0.0.0.0",
encapsulation: "tunnel-mode",
keepalive: "disable",
keylifeType: "seconds",
keylifekbs: 5120,
keylifeseconds: 43200,
l2tp: "disable",
pfs: "enable",
phase1name: trname3.name,
proposal: "aes128-sha1 aes256-sha1 aes128-sha256 aes256-sha256 aes128gcm aes256gcm chacha20poly1305",
protocol: 0,
replay: "enable",
routeOverlap: "use-new",
singleSource: "disable",
srcAddrType: "subnet",
srcEndIp6: "::",
srcPort: 0,
srcSubnet: "0.0.0.0 0.0.0.0",
});
import pulumi
import pulumiverse_fortios as fortios
trname3 = fortios.vpn.ipsec.Phase1interface("trname3",
acct_verify="disable",
add_gw_route="disable",
add_route="enable",
assign_ip="enable",
assign_ip_from="range",
authmethod="psk",
auto_discovery_forwarder="disable",
auto_discovery_psk="disable",
auto_discovery_receiver="disable",
auto_discovery_sender="disable",
auto_negotiate="enable",
cert_id_validation="enable",
childless_ike="disable",
client_auto_negotiate="disable",
client_keep_alive="disable",
default_gw="0.0.0.0",
default_gw_priority=0,
dhgrp="14 5",
digital_signature_auth="disable",
distance=15,
dns_mode="manual",
dpd="on-demand",
dpd_retrycount=3,
dpd_retryinterval="20",
eap="disable",
eap_identity="use-id-payload",
encap_local_gw4="0.0.0.0",
encap_local_gw6="::",
encap_remote_gw4="0.0.0.0",
encap_remote_gw6="::",
encapsulation="none",
encapsulation_address="ike",
enforce_unique_id="disable",
exchange_interface_ip="disable",
exchange_ip_addr4="0.0.0.0",
exchange_ip_addr6="::",
forticlient_enforcement="disable",
fragmentation="enable",
fragmentation_mtu=1200,
group_authentication="disable",
ha_sync_esp_seqno="enable",
idle_timeout="disable",
idle_timeoutinterval=15,
ike_version="1",
include_local_lan="disable",
interface="port3",
ip_version="4",
ipv4_dns_server1="0.0.0.0",
ipv4_dns_server2="0.0.0.0",
ipv4_dns_server3="0.0.0.0",
ipv4_end_ip="0.0.0.0",
ipv4_netmask="255.255.255.255",
ipv4_start_ip="0.0.0.0",
ipv4_wins_server1="0.0.0.0",
ipv4_wins_server2="0.0.0.0",
ipv6_dns_server1="::",
ipv6_dns_server2="::",
ipv6_dns_server3="::",
ipv6_end_ip="::",
ipv6_prefix=128,
ipv6_start_ip="::",
keepalive=10,
keylife=86400,
local_gw="0.0.0.0",
local_gw6="::",
localid_type="auto",
mesh_selector_type="disable",
mode="main",
mode_cfg="disable",
monitor_hold_down_delay=0,
monitor_hold_down_time="00:00",
monitor_hold_down_type="immediate",
monitor_hold_down_weekday="sunday",
nattraversal="enable",
negotiate_timeout=30,
net_device="disable",
passive_mode="disable",
peertype="any",
ppk="disable",
priority=0,
proposal="aes128-sha256 aes256-sha256 aes128-sha1 aes256-sha1",
psksecret="eweeeeeeeecee",
reauth="disable",
rekey="enable",
remote_gw="2.22.2.2",
remote_gw6="::",
rsa_signature_format="pkcs1",
save_password="disable",
send_cert_chain="enable",
signature_hash_alg="sha2-512 sha2-384 sha2-256 sha1",
suite_b="disable",
tunnel_search="selectors",
type="static",
unity_support="enable",
wizard_type="custom",
xauthtype="disable")
trname2 = fortios.vpn.ipsec.Phase2interface("trname2",
add_route="phase1",
auto_discovery_forwarder="phase1",
auto_discovery_sender="phase1",
auto_negotiate="disable",
dhcp_ipsec="disable",
dhgrp="14 5",
dst_addr_type="subnet",
dst_end_ip6="::",
dst_port=0,
dst_subnet="0.0.0.0 0.0.0.0",
encapsulation="tunnel-mode",
keepalive="disable",
keylife_type="seconds",
keylifekbs=5120,
keylifeseconds=43200,
l2tp="disable",
pfs="enable",
phase1name=trname3.name,
proposal="aes128-sha1 aes256-sha1 aes128-sha256 aes256-sha256 aes128gcm aes256gcm chacha20poly1305",
protocol=0,
replay="enable",
route_overlap="use-new",
single_source="disable",
src_addr_type="subnet",
src_end_ip6="::",
src_port=0,
src_subnet="0.0.0.0 0.0.0.0")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/vpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
trname3, err := vpn.NewPhase1interface(ctx, "trname3", &vpn.Phase1interfaceArgs{
AcctVerify: pulumi.String("disable"),
AddGwRoute: pulumi.String("disable"),
AddRoute: pulumi.String("enable"),
AssignIp: pulumi.String("enable"),
AssignIpFrom: pulumi.String("range"),
Authmethod: pulumi.String("psk"),
AutoDiscoveryForwarder: pulumi.String("disable"),
AutoDiscoveryPsk: pulumi.String("disable"),
AutoDiscoveryReceiver: pulumi.String("disable"),
AutoDiscoverySender: pulumi.String("disable"),
AutoNegotiate: pulumi.String("enable"),
CertIdValidation: pulumi.String("enable"),
ChildlessIke: pulumi.String("disable"),
ClientAutoNegotiate: pulumi.String("disable"),
ClientKeepAlive: pulumi.String("disable"),
DefaultGw: pulumi.String("0.0.0.0"),
DefaultGwPriority: pulumi.Int(0),
Dhgrp: pulumi.String("14 5"),
DigitalSignatureAuth: pulumi.String("disable"),
Distance: pulumi.Int(15),
DnsMode: pulumi.String("manual"),
Dpd: pulumi.String("on-demand"),
DpdRetrycount: pulumi.Int(3),
DpdRetryinterval: pulumi.String("20"),
Eap: pulumi.String("disable"),
EapIdentity: pulumi.String("use-id-payload"),
EncapLocalGw4: pulumi.String("0.0.0.0"),
EncapLocalGw6: pulumi.String("::"),
EncapRemoteGw4: pulumi.String("0.0.0.0"),
EncapRemoteGw6: pulumi.String("::"),
Encapsulation: pulumi.String("none"),
EncapsulationAddress: pulumi.String("ike"),
EnforceUniqueId: pulumi.String("disable"),
ExchangeInterfaceIp: pulumi.String("disable"),
ExchangeIpAddr4: pulumi.String("0.0.0.0"),
ExchangeIpAddr6: pulumi.String("::"),
ForticlientEnforcement: pulumi.String("disable"),
Fragmentation: pulumi.String("enable"),
FragmentationMtu: pulumi.Int(1200),
GroupAuthentication: pulumi.String("disable"),
HaSyncEspSeqno: pulumi.String("enable"),
IdleTimeout: pulumi.String("disable"),
IdleTimeoutinterval: pulumi.Int(15),
IkeVersion: pulumi.String("1"),
IncludeLocalLan: pulumi.String("disable"),
Interface: pulumi.String("port3"),
IpVersion: pulumi.String("4"),
Ipv4DnsServer1: pulumi.String("0.0.0.0"),
Ipv4DnsServer2: pulumi.String("0.0.0.0"),
Ipv4DnsServer3: pulumi.String("0.0.0.0"),
Ipv4EndIp: pulumi.String("0.0.0.0"),
Ipv4Netmask: pulumi.String("255.255.255.255"),
Ipv4StartIp: pulumi.String("0.0.0.0"),
Ipv4WinsServer1: pulumi.String("0.0.0.0"),
Ipv4WinsServer2: pulumi.String("0.0.0.0"),
Ipv6DnsServer1: pulumi.String("::"),
Ipv6DnsServer2: pulumi.String("::"),
Ipv6DnsServer3: pulumi.String("::"),
Ipv6EndIp: pulumi.String("::"),
Ipv6Prefix: pulumi.Int(128),
Ipv6StartIp: pulumi.String("::"),
Keepalive: pulumi.Int(10),
Keylife: pulumi.Int(86400),
LocalGw: pulumi.String("0.0.0.0"),
LocalGw6: pulumi.String("::"),
LocalidType: pulumi.String("auto"),
MeshSelectorType: pulumi.String("disable"),
Mode: pulumi.String("main"),
ModeCfg: pulumi.String("disable"),
MonitorHoldDownDelay: pulumi.Int(0),
MonitorHoldDownTime: pulumi.String("00:00"),
MonitorHoldDownType: pulumi.String("immediate"),
MonitorHoldDownWeekday: pulumi.String("sunday"),
Nattraversal: pulumi.String("enable"),
NegotiateTimeout: pulumi.Int(30),
NetDevice: pulumi.String("disable"),
PassiveMode: pulumi.String("disable"),
Peertype: pulumi.String("any"),
Ppk: pulumi.String("disable"),
Priority: pulumi.Int(0),
Proposal: pulumi.String("aes128-sha256 aes256-sha256 aes128-sha1 aes256-sha1"),
Psksecret: pulumi.String("eweeeeeeeecee"),
Reauth: pulumi.String("disable"),
Rekey: pulumi.String("enable"),
RemoteGw: pulumi.String("2.22.2.2"),
RemoteGw6: pulumi.String("::"),
RsaSignatureFormat: pulumi.String("pkcs1"),
SavePassword: pulumi.String("disable"),
SendCertChain: pulumi.String("enable"),
SignatureHashAlg: pulumi.String("sha2-512 sha2-384 sha2-256 sha1"),
SuiteB: pulumi.String("disable"),
TunnelSearch: pulumi.String("selectors"),
Type: pulumi.String("static"),
UnitySupport: pulumi.String("enable"),
WizardType: pulumi.String("custom"),
Xauthtype: pulumi.String("disable"),
})
if err != nil {
return err
}
_, err = vpn.NewPhase2interface(ctx, "trname2", &vpn.Phase2interfaceArgs{
AddRoute: pulumi.String("phase1"),
AutoDiscoveryForwarder: pulumi.String("phase1"),
AutoDiscoverySender: pulumi.String("phase1"),
AutoNegotiate: pulumi.String("disable"),
DhcpIpsec: pulumi.String("disable"),
Dhgrp: pulumi.String("14 5"),
DstAddrType: pulumi.String("subnet"),
DstEndIp6: pulumi.String("::"),
DstPort: pulumi.Int(0),
DstSubnet: pulumi.String("0.0.0.0 0.0.0.0"),
Encapsulation: pulumi.String("tunnel-mode"),
Keepalive: pulumi.String("disable"),
KeylifeType: pulumi.String("seconds"),
Keylifekbs: pulumi.Int(5120),
Keylifeseconds: pulumi.Int(43200),
L2tp: pulumi.String("disable"),
Pfs: pulumi.String("enable"),
Phase1name: trname3.Name,
Proposal: pulumi.String("aes128-sha1 aes256-sha1 aes128-sha256 aes256-sha256 aes128gcm aes256gcm chacha20poly1305"),
Protocol: pulumi.Int(0),
Replay: pulumi.String("enable"),
RouteOverlap: pulumi.String("use-new"),
SingleSource: pulumi.String("disable"),
SrcAddrType: pulumi.String("subnet"),
SrcEndIp6: pulumi.String("::"),
SrcPort: pulumi.Int(0),
SrcSubnet: pulumi.String("0.0.0.0 0.0.0.0"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname3 = new Fortios.Vpn.Ipsec.Phase1interface("trname3", new()
{
AcctVerify = "disable",
AddGwRoute = "disable",
AddRoute = "enable",
AssignIp = "enable",
AssignIpFrom = "range",
Authmethod = "psk",
AutoDiscoveryForwarder = "disable",
AutoDiscoveryPsk = "disable",
AutoDiscoveryReceiver = "disable",
AutoDiscoverySender = "disable",
AutoNegotiate = "enable",
CertIdValidation = "enable",
ChildlessIke = "disable",
ClientAutoNegotiate = "disable",
ClientKeepAlive = "disable",
DefaultGw = "0.0.0.0",
DefaultGwPriority = 0,
Dhgrp = "14 5",
DigitalSignatureAuth = "disable",
Distance = 15,
DnsMode = "manual",
Dpd = "on-demand",
DpdRetrycount = 3,
DpdRetryinterval = "20",
Eap = "disable",
EapIdentity = "use-id-payload",
EncapLocalGw4 = "0.0.0.0",
EncapLocalGw6 = "::",
EncapRemoteGw4 = "0.0.0.0",
EncapRemoteGw6 = "::",
Encapsulation = "none",
EncapsulationAddress = "ike",
EnforceUniqueId = "disable",
ExchangeInterfaceIp = "disable",
ExchangeIpAddr4 = "0.0.0.0",
ExchangeIpAddr6 = "::",
ForticlientEnforcement = "disable",
Fragmentation = "enable",
FragmentationMtu = 1200,
GroupAuthentication = "disable",
HaSyncEspSeqno = "enable",
IdleTimeout = "disable",
IdleTimeoutinterval = 15,
IkeVersion = "1",
IncludeLocalLan = "disable",
Interface = "port3",
IpVersion = "4",
Ipv4DnsServer1 = "0.0.0.0",
Ipv4DnsServer2 = "0.0.0.0",
Ipv4DnsServer3 = "0.0.0.0",
Ipv4EndIp = "0.0.0.0",
Ipv4Netmask = "255.255.255.255",
Ipv4StartIp = "0.0.0.0",
Ipv4WinsServer1 = "0.0.0.0",
Ipv4WinsServer2 = "0.0.0.0",
Ipv6DnsServer1 = "::",
Ipv6DnsServer2 = "::",
Ipv6DnsServer3 = "::",
Ipv6EndIp = "::",
Ipv6Prefix = 128,
Ipv6StartIp = "::",
Keepalive = 10,
Keylife = 86400,
LocalGw = "0.0.0.0",
LocalGw6 = "::",
LocalidType = "auto",
MeshSelectorType = "disable",
Mode = "main",
ModeCfg = "disable",
MonitorHoldDownDelay = 0,
MonitorHoldDownTime = "00:00",
MonitorHoldDownType = "immediate",
MonitorHoldDownWeekday = "sunday",
Nattraversal = "enable",
NegotiateTimeout = 30,
NetDevice = "disable",
PassiveMode = "disable",
Peertype = "any",
Ppk = "disable",
Priority = 0,
Proposal = "aes128-sha256 aes256-sha256 aes128-sha1 aes256-sha1",
Psksecret = "eweeeeeeeecee",
Reauth = "disable",
Rekey = "enable",
RemoteGw = "2.22.2.2",
RemoteGw6 = "::",
RsaSignatureFormat = "pkcs1",
SavePassword = "disable",
SendCertChain = "enable",
SignatureHashAlg = "sha2-512 sha2-384 sha2-256 sha1",
SuiteB = "disable",
TunnelSearch = "selectors",
Type = "static",
UnitySupport = "enable",
WizardType = "custom",
Xauthtype = "disable",
});
var trname2 = new Fortios.Vpn.Ipsec.Phase2interface("trname2", new()
{
AddRoute = "phase1",
AutoDiscoveryForwarder = "phase1",
AutoDiscoverySender = "phase1",
AutoNegotiate = "disable",
DhcpIpsec = "disable",
Dhgrp = "14 5",
DstAddrType = "subnet",
DstEndIp6 = "::",
DstPort = 0,
DstSubnet = "0.0.0.0 0.0.0.0",
Encapsulation = "tunnel-mode",
Keepalive = "disable",
KeylifeType = "seconds",
Keylifekbs = 5120,
Keylifeseconds = 43200,
L2tp = "disable",
Pfs = "enable",
Phase1name = trname3.Name,
Proposal = "aes128-sha1 aes256-sha1 aes128-sha256 aes256-sha256 aes128gcm aes256gcm chacha20poly1305",
Protocol = 0,
Replay = "enable",
RouteOverlap = "use-new",
SingleSource = "disable",
SrcAddrType = "subnet",
SrcEndIp6 = "::",
SrcPort = 0,
SrcSubnet = "0.0.0.0 0.0.0.0",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.vpn.Phase1interface;
import com.pulumi.fortios.vpn.Phase1interfaceArgs;
import com.pulumi.fortios.vpn.Phase2interface;
import com.pulumi.fortios.vpn.Phase2interfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname3 = new Phase1interface("trname3", Phase1interfaceArgs.builder()
.acctVerify("disable")
.addGwRoute("disable")
.addRoute("enable")
.assignIp("enable")
.assignIpFrom("range")
.authmethod("psk")
.autoDiscoveryForwarder("disable")
.autoDiscoveryPsk("disable")
.autoDiscoveryReceiver("disable")
.autoDiscoverySender("disable")
.autoNegotiate("enable")
.certIdValidation("enable")
.childlessIke("disable")
.clientAutoNegotiate("disable")
.clientKeepAlive("disable")
.defaultGw("0.0.0.0")
.defaultGwPriority(0)
.dhgrp("14 5")
.digitalSignatureAuth("disable")
.distance(15)
.dnsMode("manual")
.dpd("on-demand")
.dpdRetrycount(3)
.dpdRetryinterval("20")
.eap("disable")
.eapIdentity("use-id-payload")
.encapLocalGw4("0.0.0.0")
.encapLocalGw6("::")
.encapRemoteGw4("0.0.0.0")
.encapRemoteGw6("::")
.encapsulation("none")
.encapsulationAddress("ike")
.enforceUniqueId("disable")
.exchangeInterfaceIp("disable")
.exchangeIpAddr4("0.0.0.0")
.exchangeIpAddr6("::")
.forticlientEnforcement("disable")
.fragmentation("enable")
.fragmentationMtu(1200)
.groupAuthentication("disable")
.haSyncEspSeqno("enable")
.idleTimeout("disable")
.idleTimeoutinterval(15)
.ikeVersion("1")
.includeLocalLan("disable")
.interface_("port3")
.ipVersion("4")
.ipv4DnsServer1("0.0.0.0")
.ipv4DnsServer2("0.0.0.0")
.ipv4DnsServer3("0.0.0.0")
.ipv4EndIp("0.0.0.0")
.ipv4Netmask("255.255.255.255")
.ipv4StartIp("0.0.0.0")
.ipv4WinsServer1("0.0.0.0")
.ipv4WinsServer2("0.0.0.0")
.ipv6DnsServer1("::")
.ipv6DnsServer2("::")
.ipv6DnsServer3("::")
.ipv6EndIp("::")
.ipv6Prefix(128)
.ipv6StartIp("::")
.keepalive(10)
.keylife(86400)
.localGw("0.0.0.0")
.localGw6("::")
.localidType("auto")
.meshSelectorType("disable")
.mode("main")
.modeCfg("disable")
.monitorHoldDownDelay(0)
.monitorHoldDownTime("00:00")
.monitorHoldDownType("immediate")
.monitorHoldDownWeekday("sunday")
.nattraversal("enable")
.negotiateTimeout(30)
.netDevice("disable")
.passiveMode("disable")
.peertype("any")
.ppk("disable")
.priority(0)
.proposal("aes128-sha256 aes256-sha256 aes128-sha1 aes256-sha1")
.psksecret("eweeeeeeeecee")
.reauth("disable")
.rekey("enable")
.remoteGw("2.22.2.2")
.remoteGw6("::")
.rsaSignatureFormat("pkcs1")
.savePassword("disable")
.sendCertChain("enable")
.signatureHashAlg("sha2-512 sha2-384 sha2-256 sha1")
.suiteB("disable")
.tunnelSearch("selectors")
.type("static")
.unitySupport("enable")
.wizardType("custom")
.xauthtype("disable")
.build());
var trname2 = new Phase2interface("trname2", Phase2interfaceArgs.builder()
.addRoute("phase1")
.autoDiscoveryForwarder("phase1")
.autoDiscoverySender("phase1")
.autoNegotiate("disable")
.dhcpIpsec("disable")
.dhgrp("14 5")
.dstAddrType("subnet")
.dstEndIp6("::")
.dstPort(0)
.dstSubnet("0.0.0.0 0.0.0.0")
.encapsulation("tunnel-mode")
.keepalive("disable")
.keylifeType("seconds")
.keylifekbs(5120)
.keylifeseconds(43200)
.l2tp("disable")
.pfs("enable")
.phase1name(trname3.name())
.proposal("aes128-sha1 aes256-sha1 aes128-sha256 aes256-sha256 aes128gcm aes256gcm chacha20poly1305")
.protocol(0)
.replay("enable")
.routeOverlap("use-new")
.singleSource("disable")
.srcAddrType("subnet")
.srcEndIp6("::")
.srcPort(0)
.srcSubnet("0.0.0.0 0.0.0.0")
.build());
}
}
resources:
trname3:
type: fortios:vpn/ipsec:Phase1interface
properties:
acctVerify: disable
addGwRoute: disable
addRoute: enable
assignIp: enable
assignIpFrom: range
authmethod: psk
autoDiscoveryForwarder: disable
autoDiscoveryPsk: disable
autoDiscoveryReceiver: disable
autoDiscoverySender: disable
autoNegotiate: enable
certIdValidation: enable
childlessIke: disable
clientAutoNegotiate: disable
clientKeepAlive: disable
defaultGw: 0.0.0.0
defaultGwPriority: 0
dhgrp: 14 5
digitalSignatureAuth: disable
distance: 15
dnsMode: manual
dpd: on-demand
dpdRetrycount: 3
dpdRetryinterval: '20'
eap: disable
eapIdentity: use-id-payload
encapLocalGw4: 0.0.0.0
encapLocalGw6: '::'
encapRemoteGw4: 0.0.0.0
encapRemoteGw6: '::'
encapsulation: none
encapsulationAddress: ike
enforceUniqueId: disable
exchangeInterfaceIp: disable
exchangeIpAddr4: 0.0.0.0
exchangeIpAddr6: '::'
forticlientEnforcement: disable
fragmentation: enable
fragmentationMtu: 1200
groupAuthentication: disable
haSyncEspSeqno: enable
idleTimeout: disable
idleTimeoutinterval: 15
ikeVersion: '1'
includeLocalLan: disable
interface: port3
ipVersion: '4'
ipv4DnsServer1: 0.0.0.0
ipv4DnsServer2: 0.0.0.0
ipv4DnsServer3: 0.0.0.0
ipv4EndIp: 0.0.0.0
ipv4Netmask: 255.255.255.255
ipv4StartIp: 0.0.0.0
ipv4WinsServer1: 0.0.0.0
ipv4WinsServer2: 0.0.0.0
ipv6DnsServer1: '::'
ipv6DnsServer2: '::'
ipv6DnsServer3: '::'
ipv6EndIp: '::'
ipv6Prefix: 128
ipv6StartIp: '::'
keepalive: 10
keylife: 86400
localGw: 0.0.0.0
localGw6: '::'
localidType: auto
meshSelectorType: disable
mode: main
modeCfg: disable
monitorHoldDownDelay: 0
monitorHoldDownTime: 00:00
monitorHoldDownType: immediate
monitorHoldDownWeekday: sunday
nattraversal: enable
negotiateTimeout: 30
netDevice: disable
passiveMode: disable
peertype: any
ppk: disable
priority: 0
proposal: aes128-sha256 aes256-sha256 aes128-sha1 aes256-sha1
psksecret: eweeeeeeeecee
reauth: disable
rekey: enable
remoteGw: 2.22.2.2
remoteGw6: '::'
rsaSignatureFormat: pkcs1
savePassword: disable
sendCertChain: enable
signatureHashAlg: sha2-512 sha2-384 sha2-256 sha1
suiteB: disable
tunnelSearch: selectors
type: static
unitySupport: enable
wizardType: custom
xauthtype: disable
trname2:
type: fortios:vpn/ipsec:Phase2interface
properties:
addRoute: phase1
autoDiscoveryForwarder: phase1
autoDiscoverySender: phase1
autoNegotiate: disable
dhcpIpsec: disable
dhgrp: 14 5
dstAddrType: subnet
dstEndIp6: '::'
dstPort: 0
dstSubnet: 0.0.0.0 0.0.0.0
encapsulation: tunnel-mode
keepalive: disable
keylifeType: seconds
keylifekbs: 5120
keylifeseconds: 43200
l2tp: disable
pfs: enable
phase1name: ${trname3.name}
proposal: aes128-sha1 aes256-sha1 aes128-sha256 aes256-sha256 aes128gcm aes256gcm chacha20poly1305
protocol: 0
replay: enable
routeOverlap: use-new
singleSource: disable
srcAddrType: subnet
srcEndIp6: '::'
srcPort: 0
srcSubnet: 0.0.0.0 0.0.0.0
Create Phase2interface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Phase2interface(name: string, args: Phase2interfaceArgs, opts?: CustomResourceOptions);
@overload
def Phase2interface(resource_name: str,
args: Phase2interfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Phase2interface(resource_name: str,
opts: Optional[ResourceOptions] = None,
phase1name: Optional[str] = None,
proposal: Optional[str] = None,
ipv4_df: Optional[str] = None,
src_subnet6: Optional[str] = None,
comments: Optional[str] = None,
keylife_type: Optional[str] = None,
dhgrp: Optional[str] = None,
diffserv: Optional[str] = None,
diffservcode: Optional[str] = None,
dst_addr_type: Optional[str] = None,
dst_end_ip: Optional[str] = None,
dst_end_ip6: Optional[str] = None,
dst_name: Optional[str] = None,
dst_name6: Optional[str] = None,
dst_port: Optional[int] = None,
dst_start_ip: Optional[str] = None,
dst_start_ip6: Optional[str] = None,
dst_subnet: Optional[str] = None,
dst_subnet6: Optional[str] = None,
keylifeseconds: Optional[int] = None,
inbound_dscp_copy: Optional[str] = None,
initiator_ts_narrow: Optional[str] = None,
add_route: Optional[str] = None,
keepalive: Optional[str] = None,
dhcp_ipsec: Optional[str] = None,
auto_negotiate: Optional[str] = None,
encapsulation: Optional[str] = None,
l2tp: Optional[str] = None,
name: Optional[str] = None,
pfs: Optional[str] = None,
auto_discovery_sender: Optional[str] = None,
auto_discovery_forwarder: Optional[str] = None,
protocol: Optional[int] = None,
replay: Optional[str] = None,
route_overlap: Optional[str] = None,
single_source: Optional[str] = None,
src_addr_type: Optional[str] = None,
src_end_ip: Optional[str] = None,
src_end_ip6: Optional[str] = None,
src_name: Optional[str] = None,
src_name6: Optional[str] = None,
src_port: Optional[int] = None,
src_start_ip: Optional[str] = None,
src_start_ip6: Optional[str] = None,
src_subnet: Optional[str] = None,
keylifekbs: Optional[int] = None,
vdomparam: Optional[str] = None)
func NewPhase2interface(ctx *Context, name string, args Phase2interfaceArgs, opts ...ResourceOption) (*Phase2interface, error)
public Phase2interface(string name, Phase2interfaceArgs args, CustomResourceOptions? opts = null)
public Phase2interface(String name, Phase2interfaceArgs args)
public Phase2interface(String name, Phase2interfaceArgs args, CustomResourceOptions options)
type: fortios:vpn/ipsec/phase2interface:Phase2interface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args Phase2interfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args Phase2interfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args Phase2interfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Phase2interfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Phase2interfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Phase2interface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Phase2interface resource accepts the following input properties:
- Phase1name string
- Phase 1 determines the options required for phase 2.
- Proposal string
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - Add
Route string - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Negotiate string - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - Comments string
- Comment.
- Dhcp
Ipsec string - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - Dhgrp string
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - Diffserv string
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - Diffservcode string
- DSCP value to be applied to the IPsec tunnel outer IP header.
- Dst
Addr stringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Dst
End stringIp - Remote proxy ID IPv4 end.
- Dst
End stringIp6 - Remote proxy ID IPv6 end.
- Dst
Name string - Remote proxy ID name.
- Dst
Name6 string - Remote proxy ID name.
- Dst
Port int - Quick mode destination port (1 - 65535 or 0 for all).
- Dst
Start stringIp - Remote proxy ID IPv4 start.
- Dst
Start stringIp6 - Remote proxy ID IPv6 start.
- Dst
Subnet string - Remote proxy ID IPv4 subnet.
- Dst
Subnet6 string - Remote proxy ID IPv6 subnet.
- Encapsulation string
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - Inbound
Dscp stringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - Initiator
Ts stringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - Ipv4Df string
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - Keepalive string
- Enable/disable keep alive. Valid values:
enable
,disable
. - Keylife
Type string - Keylife type. Valid values:
seconds
,kbs
,both
. - Keylifekbs int
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- Keylifeseconds int
- Phase2 key life in time in seconds (120 - 172800).
- L2tp string
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - Name string
- IPsec tunnel name.
- Pfs string
- Enable/disable PFS feature. Valid values:
enable
,disable
. - Protocol int
- Quick mode protocol selector (1 - 255 or 0 for all).
- Replay string
- Enable/disable replay detection. Valid values:
enable
,disable
. - Route
Overlap string - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - Single
Source string - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - Src
Addr stringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Src
End stringIp - Local proxy ID end.
- Src
End stringIp6 - Local proxy ID IPv6 end.
- Src
Name string - Local proxy ID name.
- Src
Name6 string - Local proxy ID name.
- Src
Port int - Quick mode source port (1 - 65535 or 0 for all).
- Src
Start stringIp - Local proxy ID start.
- Src
Start stringIp6 - Local proxy ID IPv6 start.
- Src
Subnet string - Local proxy ID subnet.
- Src
Subnet6 string - Local proxy ID IPv6 subnet.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Phase1name string
- Phase 1 determines the options required for phase 2.
- Proposal string
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - Add
Route string - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Negotiate string - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - Comments string
- Comment.
- Dhcp
Ipsec string - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - Dhgrp string
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - Diffserv string
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - Diffservcode string
- DSCP value to be applied to the IPsec tunnel outer IP header.
- Dst
Addr stringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Dst
End stringIp - Remote proxy ID IPv4 end.
- Dst
End stringIp6 - Remote proxy ID IPv6 end.
- Dst
Name string - Remote proxy ID name.
- Dst
Name6 string - Remote proxy ID name.
- Dst
Port int - Quick mode destination port (1 - 65535 or 0 for all).
- Dst
Start stringIp - Remote proxy ID IPv4 start.
- Dst
Start stringIp6 - Remote proxy ID IPv6 start.
- Dst
Subnet string - Remote proxy ID IPv4 subnet.
- Dst
Subnet6 string - Remote proxy ID IPv6 subnet.
- Encapsulation string
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - Inbound
Dscp stringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - Initiator
Ts stringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - Ipv4Df string
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - Keepalive string
- Enable/disable keep alive. Valid values:
enable
,disable
. - Keylife
Type string - Keylife type. Valid values:
seconds
,kbs
,both
. - Keylifekbs int
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- Keylifeseconds int
- Phase2 key life in time in seconds (120 - 172800).
- L2tp string
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - Name string
- IPsec tunnel name.
- Pfs string
- Enable/disable PFS feature. Valid values:
enable
,disable
. - Protocol int
- Quick mode protocol selector (1 - 255 or 0 for all).
- Replay string
- Enable/disable replay detection. Valid values:
enable
,disable
. - Route
Overlap string - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - Single
Source string - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - Src
Addr stringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Src
End stringIp - Local proxy ID end.
- Src
End stringIp6 - Local proxy ID IPv6 end.
- Src
Name string - Local proxy ID name.
- Src
Name6 string - Local proxy ID name.
- Src
Port int - Quick mode source port (1 - 65535 or 0 for all).
- Src
Start stringIp - Local proxy ID start.
- Src
Start stringIp6 - Local proxy ID IPv6 start.
- Src
Subnet string - Local proxy ID subnet.
- Src
Subnet6 string - Local proxy ID IPv6 subnet.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- phase1name String
- Phase 1 determines the options required for phase 2.
- proposal String
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - add
Route String - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Negotiate String - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments String
- Comment.
- dhcp
Ipsec String - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp String
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv String
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode String
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst
Addr StringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst
End StringIp - Remote proxy ID IPv4 end.
- dst
End StringIp6 - Remote proxy ID IPv6 end.
- dst
Name String - Remote proxy ID name.
- dst
Name6 String - Remote proxy ID name.
- dst
Port Integer - Quick mode destination port (1 - 65535 or 0 for all).
- dst
Start StringIp - Remote proxy ID IPv4 start.
- dst
Start StringIp6 - Remote proxy ID IPv6 start.
- dst
Subnet String - Remote proxy ID IPv4 subnet.
- dst
Subnet6 String - Remote proxy ID IPv6 subnet.
- encapsulation String
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound
Dscp StringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator
Ts StringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4Df String
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive String
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife
Type String - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs Integer
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds Integer
- Phase2 key life in time in seconds (120 - 172800).
- l2tp String
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name String
- IPsec tunnel name.
- pfs String
- Enable/disable PFS feature. Valid values:
enable
,disable
. - protocol Integer
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay String
- Enable/disable replay detection. Valid values:
enable
,disable
. - route
Overlap String - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single
Source String - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src
Addr StringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src
End StringIp - Local proxy ID end.
- src
End StringIp6 - Local proxy ID IPv6 end.
- src
Name String - Local proxy ID name.
- src
Name6 String - Local proxy ID name.
- src
Port Integer - Quick mode source port (1 - 65535 or 0 for all).
- src
Start StringIp - Local proxy ID start.
- src
Start StringIp6 - Local proxy ID IPv6 start.
- src
Subnet String - Local proxy ID subnet.
- src
Subnet6 String - Local proxy ID IPv6 subnet.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- phase1name string
- Phase 1 determines the options required for phase 2.
- proposal string
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - add
Route string - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto
Discovery stringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Discovery stringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Negotiate string - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments string
- Comment.
- dhcp
Ipsec string - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp string
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv string
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode string
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst
Addr stringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst
End stringIp - Remote proxy ID IPv4 end.
- dst
End stringIp6 - Remote proxy ID IPv6 end.
- dst
Name string - Remote proxy ID name.
- dst
Name6 string - Remote proxy ID name.
- dst
Port number - Quick mode destination port (1 - 65535 or 0 for all).
- dst
Start stringIp - Remote proxy ID IPv4 start.
- dst
Start stringIp6 - Remote proxy ID IPv6 start.
- dst
Subnet string - Remote proxy ID IPv4 subnet.
- dst
Subnet6 string - Remote proxy ID IPv6 subnet.
- encapsulation string
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound
Dscp stringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator
Ts stringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4Df string
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive string
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife
Type string - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs number
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds number
- Phase2 key life in time in seconds (120 - 172800).
- l2tp string
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name string
- IPsec tunnel name.
- pfs string
- Enable/disable PFS feature. Valid values:
enable
,disable
. - protocol number
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay string
- Enable/disable replay detection. Valid values:
enable
,disable
. - route
Overlap string - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single
Source string - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src
Addr stringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src
End stringIp - Local proxy ID end.
- src
End stringIp6 - Local proxy ID IPv6 end.
- src
Name string - Local proxy ID name.
- src
Name6 string - Local proxy ID name.
- src
Port number - Quick mode source port (1 - 65535 or 0 for all).
- src
Start stringIp - Local proxy ID start.
- src
Start stringIp6 - Local proxy ID IPv6 start.
- src
Subnet string - Local proxy ID subnet.
- src
Subnet6 string - Local proxy ID IPv6 subnet.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- phase1name str
- Phase 1 determines the options required for phase 2.
- proposal str
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - add_
route str - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto_
discovery_ strforwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto_
discovery_ strsender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto_
negotiate str - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments str
- Comment.
- dhcp_
ipsec str - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp str
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv str
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode str
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst_
addr_ strtype - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst_
end_ strip - Remote proxy ID IPv4 end.
- dst_
end_ strip6 - Remote proxy ID IPv6 end.
- dst_
name str - Remote proxy ID name.
- dst_
name6 str - Remote proxy ID name.
- dst_
port int - Quick mode destination port (1 - 65535 or 0 for all).
- dst_
start_ strip - Remote proxy ID IPv4 start.
- dst_
start_ strip6 - Remote proxy ID IPv6 start.
- dst_
subnet str - Remote proxy ID IPv4 subnet.
- dst_
subnet6 str - Remote proxy ID IPv6 subnet.
- encapsulation str
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound_
dscp_ strcopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator_
ts_ strnarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4_
df str - Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive str
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife_
type str - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs int
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds int
- Phase2 key life in time in seconds (120 - 172800).
- l2tp str
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name str
- IPsec tunnel name.
- pfs str
- Enable/disable PFS feature. Valid values:
enable
,disable
. - protocol int
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay str
- Enable/disable replay detection. Valid values:
enable
,disable
. - route_
overlap str - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single_
source str - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src_
addr_ strtype - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src_
end_ strip - Local proxy ID end.
- src_
end_ strip6 - Local proxy ID IPv6 end.
- src_
name str - Local proxy ID name.
- src_
name6 str - Local proxy ID name.
- src_
port int - Quick mode source port (1 - 65535 or 0 for all).
- src_
start_ strip - Local proxy ID start.
- src_
start_ strip6 - Local proxy ID IPv6 start.
- src_
subnet str - Local proxy ID subnet.
- src_
subnet6 str - Local proxy ID IPv6 subnet.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- phase1name String
- Phase 1 determines the options required for phase 2.
- proposal String
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - add
Route String - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Negotiate String - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments String
- Comment.
- dhcp
Ipsec String - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp String
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv String
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode String
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst
Addr StringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst
End StringIp - Remote proxy ID IPv4 end.
- dst
End StringIp6 - Remote proxy ID IPv6 end.
- dst
Name String - Remote proxy ID name.
- dst
Name6 String - Remote proxy ID name.
- dst
Port Number - Quick mode destination port (1 - 65535 or 0 for all).
- dst
Start StringIp - Remote proxy ID IPv4 start.
- dst
Start StringIp6 - Remote proxy ID IPv6 start.
- dst
Subnet String - Remote proxy ID IPv4 subnet.
- dst
Subnet6 String - Remote proxy ID IPv6 subnet.
- encapsulation String
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound
Dscp StringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator
Ts StringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4Df String
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive String
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife
Type String - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs Number
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds Number
- Phase2 key life in time in seconds (120 - 172800).
- l2tp String
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name String
- IPsec tunnel name.
- pfs String
- Enable/disable PFS feature. Valid values:
enable
,disable
. - protocol Number
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay String
- Enable/disable replay detection. Valid values:
enable
,disable
. - route
Overlap String - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single
Source String - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src
Addr StringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src
End StringIp - Local proxy ID end.
- src
End StringIp6 - Local proxy ID IPv6 end.
- src
Name String - Local proxy ID name.
- src
Name6 String - Local proxy ID name.
- src
Port Number - Quick mode source port (1 - 65535 or 0 for all).
- src
Start StringIp - Local proxy ID start.
- src
Start StringIp6 - Local proxy ID IPv6 start.
- src
Subnet String - Local proxy ID subnet.
- src
Subnet6 String - Local proxy ID IPv6 subnet.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Phase2interface resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Phase2interface Resource
Get an existing Phase2interface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: Phase2interfaceState, opts?: CustomResourceOptions): Phase2interface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
add_route: Optional[str] = None,
auto_discovery_forwarder: Optional[str] = None,
auto_discovery_sender: Optional[str] = None,
auto_negotiate: Optional[str] = None,
comments: Optional[str] = None,
dhcp_ipsec: Optional[str] = None,
dhgrp: Optional[str] = None,
diffserv: Optional[str] = None,
diffservcode: Optional[str] = None,
dst_addr_type: Optional[str] = None,
dst_end_ip: Optional[str] = None,
dst_end_ip6: Optional[str] = None,
dst_name: Optional[str] = None,
dst_name6: Optional[str] = None,
dst_port: Optional[int] = None,
dst_start_ip: Optional[str] = None,
dst_start_ip6: Optional[str] = None,
dst_subnet: Optional[str] = None,
dst_subnet6: Optional[str] = None,
encapsulation: Optional[str] = None,
inbound_dscp_copy: Optional[str] = None,
initiator_ts_narrow: Optional[str] = None,
ipv4_df: Optional[str] = None,
keepalive: Optional[str] = None,
keylife_type: Optional[str] = None,
keylifekbs: Optional[int] = None,
keylifeseconds: Optional[int] = None,
l2tp: Optional[str] = None,
name: Optional[str] = None,
pfs: Optional[str] = None,
phase1name: Optional[str] = None,
proposal: Optional[str] = None,
protocol: Optional[int] = None,
replay: Optional[str] = None,
route_overlap: Optional[str] = None,
single_source: Optional[str] = None,
src_addr_type: Optional[str] = None,
src_end_ip: Optional[str] = None,
src_end_ip6: Optional[str] = None,
src_name: Optional[str] = None,
src_name6: Optional[str] = None,
src_port: Optional[int] = None,
src_start_ip: Optional[str] = None,
src_start_ip6: Optional[str] = None,
src_subnet: Optional[str] = None,
src_subnet6: Optional[str] = None,
vdomparam: Optional[str] = None) -> Phase2interface
func GetPhase2interface(ctx *Context, name string, id IDInput, state *Phase2interfaceState, opts ...ResourceOption) (*Phase2interface, error)
public static Phase2interface Get(string name, Input<string> id, Phase2interfaceState? state, CustomResourceOptions? opts = null)
public static Phase2interface get(String name, Output<String> id, Phase2interfaceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Add
Route string - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Negotiate string - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - Comments string
- Comment.
- Dhcp
Ipsec string - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - Dhgrp string
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - Diffserv string
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - Diffservcode string
- DSCP value to be applied to the IPsec tunnel outer IP header.
- Dst
Addr stringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Dst
End stringIp - Remote proxy ID IPv4 end.
- Dst
End stringIp6 - Remote proxy ID IPv6 end.
- Dst
Name string - Remote proxy ID name.
- Dst
Name6 string - Remote proxy ID name.
- Dst
Port int - Quick mode destination port (1 - 65535 or 0 for all).
- Dst
Start stringIp - Remote proxy ID IPv4 start.
- Dst
Start stringIp6 - Remote proxy ID IPv6 start.
- Dst
Subnet string - Remote proxy ID IPv4 subnet.
- Dst
Subnet6 string - Remote proxy ID IPv6 subnet.
- Encapsulation string
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - Inbound
Dscp stringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - Initiator
Ts stringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - Ipv4Df string
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - Keepalive string
- Enable/disable keep alive. Valid values:
enable
,disable
. - Keylife
Type string - Keylife type. Valid values:
seconds
,kbs
,both
. - Keylifekbs int
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- Keylifeseconds int
- Phase2 key life in time in seconds (120 - 172800).
- L2tp string
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - Name string
- IPsec tunnel name.
- Pfs string
- Enable/disable PFS feature. Valid values:
enable
,disable
. - Phase1name string
- Phase 1 determines the options required for phase 2.
- Proposal string
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - Protocol int
- Quick mode protocol selector (1 - 255 or 0 for all).
- Replay string
- Enable/disable replay detection. Valid values:
enable
,disable
. - Route
Overlap string - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - Single
Source string - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - Src
Addr stringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Src
End stringIp - Local proxy ID end.
- Src
End stringIp6 - Local proxy ID IPv6 end.
- Src
Name string - Local proxy ID name.
- Src
Name6 string - Local proxy ID name.
- Src
Port int - Quick mode source port (1 - 65535 or 0 for all).
- Src
Start stringIp - Local proxy ID start.
- Src
Start stringIp6 - Local proxy ID IPv6 start.
- Src
Subnet string - Local proxy ID subnet.
- Src
Subnet6 string - Local proxy ID IPv6 subnet.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Add
Route string - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Discovery stringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - Auto
Negotiate string - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - Comments string
- Comment.
- Dhcp
Ipsec string - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - Dhgrp string
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - Diffserv string
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - Diffservcode string
- DSCP value to be applied to the IPsec tunnel outer IP header.
- Dst
Addr stringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Dst
End stringIp - Remote proxy ID IPv4 end.
- Dst
End stringIp6 - Remote proxy ID IPv6 end.
- Dst
Name string - Remote proxy ID name.
- Dst
Name6 string - Remote proxy ID name.
- Dst
Port int - Quick mode destination port (1 - 65535 or 0 for all).
- Dst
Start stringIp - Remote proxy ID IPv4 start.
- Dst
Start stringIp6 - Remote proxy ID IPv6 start.
- Dst
Subnet string - Remote proxy ID IPv4 subnet.
- Dst
Subnet6 string - Remote proxy ID IPv6 subnet.
- Encapsulation string
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - Inbound
Dscp stringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - Initiator
Ts stringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - Ipv4Df string
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - Keepalive string
- Enable/disable keep alive. Valid values:
enable
,disable
. - Keylife
Type string - Keylife type. Valid values:
seconds
,kbs
,both
. - Keylifekbs int
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- Keylifeseconds int
- Phase2 key life in time in seconds (120 - 172800).
- L2tp string
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - Name string
- IPsec tunnel name.
- Pfs string
- Enable/disable PFS feature. Valid values:
enable
,disable
. - Phase1name string
- Phase 1 determines the options required for phase 2.
- Proposal string
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - Protocol int
- Quick mode protocol selector (1 - 255 or 0 for all).
- Replay string
- Enable/disable replay detection. Valid values:
enable
,disable
. - Route
Overlap string - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - Single
Source string - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - Src
Addr stringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - Src
End stringIp - Local proxy ID end.
- Src
End stringIp6 - Local proxy ID IPv6 end.
- Src
Name string - Local proxy ID name.
- Src
Name6 string - Local proxy ID name.
- Src
Port int - Quick mode source port (1 - 65535 or 0 for all).
- Src
Start stringIp - Local proxy ID start.
- Src
Start stringIp6 - Local proxy ID IPv6 start.
- Src
Subnet string - Local proxy ID subnet.
- Src
Subnet6 string - Local proxy ID IPv6 subnet.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- add
Route String - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Negotiate String - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments String
- Comment.
- dhcp
Ipsec String - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp String
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv String
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode String
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst
Addr StringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst
End StringIp - Remote proxy ID IPv4 end.
- dst
End StringIp6 - Remote proxy ID IPv6 end.
- dst
Name String - Remote proxy ID name.
- dst
Name6 String - Remote proxy ID name.
- dst
Port Integer - Quick mode destination port (1 - 65535 or 0 for all).
- dst
Start StringIp - Remote proxy ID IPv4 start.
- dst
Start StringIp6 - Remote proxy ID IPv6 start.
- dst
Subnet String - Remote proxy ID IPv4 subnet.
- dst
Subnet6 String - Remote proxy ID IPv6 subnet.
- encapsulation String
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound
Dscp StringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator
Ts StringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4Df String
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive String
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife
Type String - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs Integer
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds Integer
- Phase2 key life in time in seconds (120 - 172800).
- l2tp String
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name String
- IPsec tunnel name.
- pfs String
- Enable/disable PFS feature. Valid values:
enable
,disable
. - phase1name String
- Phase 1 determines the options required for phase 2.
- proposal String
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - protocol Integer
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay String
- Enable/disable replay detection. Valid values:
enable
,disable
. - route
Overlap String - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single
Source String - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src
Addr StringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src
End StringIp - Local proxy ID end.
- src
End StringIp6 - Local proxy ID IPv6 end.
- src
Name String - Local proxy ID name.
- src
Name6 String - Local proxy ID name.
- src
Port Integer - Quick mode source port (1 - 65535 or 0 for all).
- src
Start StringIp - Local proxy ID start.
- src
Start StringIp6 - Local proxy ID IPv6 start.
- src
Subnet String - Local proxy ID subnet.
- src
Subnet6 String - Local proxy ID IPv6 subnet.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- add
Route string - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto
Discovery stringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Discovery stringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Negotiate string - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments string
- Comment.
- dhcp
Ipsec string - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp string
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv string
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode string
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst
Addr stringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst
End stringIp - Remote proxy ID IPv4 end.
- dst
End stringIp6 - Remote proxy ID IPv6 end.
- dst
Name string - Remote proxy ID name.
- dst
Name6 string - Remote proxy ID name.
- dst
Port number - Quick mode destination port (1 - 65535 or 0 for all).
- dst
Start stringIp - Remote proxy ID IPv4 start.
- dst
Start stringIp6 - Remote proxy ID IPv6 start.
- dst
Subnet string - Remote proxy ID IPv4 subnet.
- dst
Subnet6 string - Remote proxy ID IPv6 subnet.
- encapsulation string
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound
Dscp stringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator
Ts stringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4Df string
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive string
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife
Type string - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs number
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds number
- Phase2 key life in time in seconds (120 - 172800).
- l2tp string
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name string
- IPsec tunnel name.
- pfs string
- Enable/disable PFS feature. Valid values:
enable
,disable
. - phase1name string
- Phase 1 determines the options required for phase 2.
- proposal string
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - protocol number
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay string
- Enable/disable replay detection. Valid values:
enable
,disable
. - route
Overlap string - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single
Source string - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src
Addr stringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src
End stringIp - Local proxy ID end.
- src
End stringIp6 - Local proxy ID IPv6 end.
- src
Name string - Local proxy ID name.
- src
Name6 string - Local proxy ID name.
- src
Port number - Quick mode source port (1 - 65535 or 0 for all).
- src
Start stringIp - Local proxy ID start.
- src
Start stringIp6 - Local proxy ID IPv6 start.
- src
Subnet string - Local proxy ID subnet.
- src
Subnet6 string - Local proxy ID IPv6 subnet.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- add_
route str - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto_
discovery_ strforwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto_
discovery_ strsender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto_
negotiate str - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments str
- Comment.
- dhcp_
ipsec str - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp str
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv str
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode str
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst_
addr_ strtype - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst_
end_ strip - Remote proxy ID IPv4 end.
- dst_
end_ strip6 - Remote proxy ID IPv6 end.
- dst_
name str - Remote proxy ID name.
- dst_
name6 str - Remote proxy ID name.
- dst_
port int - Quick mode destination port (1 - 65535 or 0 for all).
- dst_
start_ strip - Remote proxy ID IPv4 start.
- dst_
start_ strip6 - Remote proxy ID IPv6 start.
- dst_
subnet str - Remote proxy ID IPv4 subnet.
- dst_
subnet6 str - Remote proxy ID IPv6 subnet.
- encapsulation str
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound_
dscp_ strcopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator_
ts_ strnarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4_
df str - Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive str
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife_
type str - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs int
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds int
- Phase2 key life in time in seconds (120 - 172800).
- l2tp str
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name str
- IPsec tunnel name.
- pfs str
- Enable/disable PFS feature. Valid values:
enable
,disable
. - phase1name str
- Phase 1 determines the options required for phase 2.
- proposal str
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - protocol int
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay str
- Enable/disable replay detection. Valid values:
enable
,disable
. - route_
overlap str - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single_
source str - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src_
addr_ strtype - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src_
end_ strip - Local proxy ID end.
- src_
end_ strip6 - Local proxy ID IPv6 end.
- src_
name str - Local proxy ID name.
- src_
name6 str - Local proxy ID name.
- src_
port int - Quick mode source port (1 - 65535 or 0 for all).
- src_
start_ strip - Local proxy ID start.
- src_
start_ strip6 - Local proxy ID IPv6 start.
- src_
subnet str - Local proxy ID subnet.
- src_
subnet6 str - Local proxy ID IPv6 subnet.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- add
Route String - Enable/disable automatic route addition. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringForwarder - Enable/disable forwarding short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Discovery StringSender - Enable/disable sending short-cut messages. Valid values:
phase1
,enable
,disable
. - auto
Negotiate String - Enable/disable IPsec SA auto-negotiation. Valid values:
enable
,disable
. - comments String
- Comment.
- dhcp
Ipsec String - Enable/disable DHCP-IPsec. Valid values:
enable
,disable
. - dhgrp String
- Phase2 DH group. Valid values:
1
,2
,5
,14
,15
,16
,17
,18
,19
,20
,21
,27
,28
,29
,30
,31
,32
. - diffserv String
- Enable/disable applying DSCP value to the IPsec tunnel outer IP header. Valid values:
enable
,disable
. - diffservcode String
- DSCP value to be applied to the IPsec tunnel outer IP header.
- dst
Addr StringType - Remote proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - dst
End StringIp - Remote proxy ID IPv4 end.
- dst
End StringIp6 - Remote proxy ID IPv6 end.
- dst
Name String - Remote proxy ID name.
- dst
Name6 String - Remote proxy ID name.
- dst
Port Number - Quick mode destination port (1 - 65535 or 0 for all).
- dst
Start StringIp - Remote proxy ID IPv4 start.
- dst
Start StringIp6 - Remote proxy ID IPv6 start.
- dst
Subnet String - Remote proxy ID IPv4 subnet.
- dst
Subnet6 String - Remote proxy ID IPv6 subnet.
- encapsulation String
- ESP encapsulation mode. Valid values:
tunnel-mode
,transport-mode
. - inbound
Dscp StringCopy - Enable/disable copying of the DSCP field in the ESP header to the inner IP header. Valid values:
phase1
,enable
,disable
. - initiator
Ts StringNarrow - Enable/disable traffic selector narrowing for IKEv2 initiator. Valid values:
enable
,disable
. - ipv4Df String
- Enable/disable setting and resetting of IPv4 'Don't Fragment' bit. Valid values:
enable
,disable
. - keepalive String
- Enable/disable keep alive. Valid values:
enable
,disable
. - keylife
Type String - Keylife type. Valid values:
seconds
,kbs
,both
. - keylifekbs Number
- Phase2 key life in number of kilobytes of traffic (5120 - 4294967295).
- keylifeseconds Number
- Phase2 key life in time in seconds (120 - 172800).
- l2tp String
- Enable/disable L2TP over IPsec. Valid values:
enable
,disable
. - name String
- IPsec tunnel name.
- pfs String
- Enable/disable PFS feature. Valid values:
enable
,disable
. - phase1name String
- Phase 1 determines the options required for phase 2.
- proposal String
- Phase2 proposal. Valid values:
null-md5
,null-sha1
,null-sha256
,null-sha384
,null-sha512
,des-null
,des-md5
,des-sha1
,des-sha256
,des-sha384
,des-sha512
,3des-null
,3des-md5
,3des-sha1
,3des-sha256
,3des-sha384
,3des-sha512
,aes128-null
,aes128-md5
,aes128-sha1
,aes128-sha256
,aes128-sha384
,aes128-sha512
,aes128gcm
,aes192-null
,aes192-md5
,aes192-sha1
,aes192-sha256
,aes192-sha384
,aes192-sha512
,aes256-null
,aes256-md5
,aes256-sha1
,aes256-sha256
,aes256-sha384
,aes256-sha512
,aes256gcm
,chacha20poly1305
,aria128-null
,aria128-md5
,aria128-sha1
,aria128-sha256
,aria128-sha384
,aria128-sha512
,aria192-null
,aria192-md5
,aria192-sha1
,aria192-sha256
,aria192-sha384
,aria192-sha512
,aria256-null
,aria256-md5
,aria256-sha1
,aria256-sha256
,aria256-sha384
,aria256-sha512
,seed-null
,seed-md5
,seed-sha1
,seed-sha256
,seed-sha384
,seed-sha512
. - protocol Number
- Quick mode protocol selector (1 - 255 or 0 for all).
- replay String
- Enable/disable replay detection. Valid values:
enable
,disable
. - route
Overlap String - Action for overlapping routes. Valid values:
use-old
,use-new
,allow
. - single
Source String - Enable/disable single source IP restriction. Valid values:
enable
,disable
. - src
Addr StringType - Local proxy ID type. Valid values:
subnet
,range
,ip
,name
,subnet6
,range6
,ip6
,name6
. - src
End StringIp - Local proxy ID end.
- src
End StringIp6 - Local proxy ID IPv6 end.
- src
Name String - Local proxy ID name.
- src
Name6 String - Local proxy ID name.
- src
Port Number - Quick mode source port (1 - 65535 or 0 for all).
- src
Start StringIp - Local proxy ID start.
- src
Start StringIp6 - Local proxy ID IPv6 start.
- src
Subnet String - Local proxy ID subnet.
- src
Subnet6 String - Local proxy ID IPv6 subnet.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Import
VpnIpsec Phase2Interface can be imported using any of these accepted formats:
$ pulumi import fortios:vpn/ipsec/phase2interface:Phase2interface labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:vpn/ipsec/phase2interface:Phase2interface labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.