Remote Access
FMCLocation in GUI:
Secure Connections » Remote Access VPN
Diagram
Section titled “Diagram”Classes
Section titled “Classes”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| domains | List | domains | No |
domains (fmc)
Section titled “domains (fmc)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| vpns | Class | vpns | No |
vpns (fmc.domains)
Section titled “vpns (fmc.domains)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| remote_access | List | remote_access | No |
remote_access (fmc.domains.vpns)
Section titled “remote_access (fmc.domains.vpns)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| description | String | max: 255 | No | |
| protocol_ssl | Boolean | true, false | No | true |
| protocol_ | Boolean | true, false | No | true |
| local_realm | String | No | ||
| access_ | List | access_ | Yes | |
| allow_ | Boolean | true, false | No | true |
| web_access_port | Integer | min: 1, max: 65535 | No | 443 |
| dtls_port | Integer | min: 1, max: 65535 | No | 443 |
| ssl_ | String | No | ||
| ipsec_ | String | No | ||
| service_access | String | No | ||
| bypass_ | Boolean | true, false | No | false |
| secure_ | List | secure_ | No | |
| group_policies | List | String | No | |
| ipsec_ | List | String | No | |
| secure_ | Class | secure_ | No | |
| address_ | Class | address_ | No | |
| certificate_map | Class | certificate_map | No | |
| connection_ | List | connection_ | No | |
| ldap_ | List | ldap_ | No | |
| load_balancing | Class | load_balancing | No | |
| ipsec_ | List | ipsec_ | No | |
| ipsec_ | Class | ipsec_ | No |
access_interfaces (fmc.domains.vpns.remote_access)
Section titled “access_interfaces (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| protocol_ssl | Boolean | true, false | No | |
| protocol_ | Boolean | true, false | No | |
| protocol_ | Boolean | true, false | No | |
| interface_ | String | No |
secure_client_images (fmc.domains.vpns.remote_access)
Section titled “secure_client_images (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| operating_ | Choice | WINDOWS, MAC, LINUX | Yes |
secure_client_customizations (fmc.domains.vpns.remote_access)
Section titled “secure_client_customizations (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| gui_ | List | String | No | |
| icons_ | List | String | No | |
| scripts | List | String | No | |
| binaries | List | String | No | |
| custom_ | List | String | No | |
| localized_ | List | String | No |
address_assignment_policy (fmc.domains.vpns.remote_access)
Section titled “address_assignment_policy (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ipv4_ | Boolean | true, false | No | |
| ipv4_use_dhcp | Boolean | true, false | No | |
| ipv4_ | Boolean | true, false | No | |
| ipv4_ | Integer | min: 0, max: 480 | No | |
| ipv6_ | Boolean | true, false | No | |
| ipv6_ | Boolean | true, false | No |
certificate_map (fmc.domains.vpns.remote_access)
Section titled “certificate_map (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| use_alias_url | Boolean | true, false | No | |
| certificate_ | List | certificate_ | No |
connection_profiles (fmc.domains.vpns.remote_access)
Section titled “connection_profiles (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| group_policy | String | Yes | ||
| ipv4_ | List | String | No | |
| ipv6_ | List | String | No | |
| dhcp_servers | List | String | No | |
| authentication_ | Choice | AAA_ONLY, SAML, CLIENT_, AAA_, SAML_ | Yes | |
| multiple_ | Boolean | true, false | No | |
| primary_ | Class | primary_ | Yes | |
| secondary_ | Class | secondary_ | No | |
| saml_ | Boolean | true, false | No | |
| saml_ | Boolean | true, false | No | |
| authorization_ | String | No | ||
| allow_ | Boolean | true, false | No | |
| accounting_ | String | No | ||
| strip_ | Boolean | true, false | No | |
| strip_ | Boolean | true, false | No | |
| password_ | Boolean | true, false | No | |
| password_ | Integer | min: 1, max: 180 | No | |
| alias_names | List | alias_names | No | |
| alias_urls | List | alias_urls | No |
ldap_attribute_maps (fmc.domains.vpns.remote_access)
Section titled “ldap_attribute_maps (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ad_ldap_realm | String | Yes | ||
| attribute_maps | List | attribute_maps | Yes |
load_balancing (fmc.domains.vpns.remote_access)
Section titled “load_balancing (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ipv4_ | IP | Yes | ||
| ipv6_ | IP | No | ||
| interface | String | Yes | ||
| port | Integer | min: 1, max: 65535 | No | 9023 |
| ipsec_ | String | min: 4, max: 16 | No | |
| send_ | Boolean | true, false | No | false |
| ikev2_ | Choice | DURING_, DURING_ | No | DURING_ |
ipsec_crypto_maps (fmc.domains.vpns.remote_access)
Section titled “ipsec_crypto_maps (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| interface | String | Yes | ||
| ikev2_ | List | String | Yes | |
| reverse_ | Boolean | true, false | No | true |
| client_ | Integer | min: 1, max: 65535 | No | 443 |
| perfect_ | Choice | 1, 2, 5, 14, 15, 16, 19, 20, 21, 24, 31 | No | |
| lifetime_ | Integer | min: 120, max: 2147483647 | No | |
| lifetime_size | Integer | min: 10, max: 2147483647 | No | 4608000 |
| validate_ | Boolean | true, false | No | false |
| do_ | Choice | SET, COPY, CLEAR, NONE | No | NONE |
| tfc_burst_bytes | Integer | min: 0, max: 16 | No | |
| tfc_ | Integer | min: 0, max: 1024 | No | |
| tfc_timeout | Integer | min: 0, max: 60 | No |
ipsec_ike_parameters (fmc.domains.vpns.remote_access)
Section titled “ipsec_ike_parameters (fmc.domains.vpns.remote_access)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ikev2_ | Choice | IP_ADDRESS, HOST_NAME, AUTO_OR_DN | No | AUTO_OR_DN |
| ikev2_ | Boolean | true, false | No | false |
| ikev2_ | Boolean | true, false | No | false |
| ikev2_ | Choice | CUSTOM, ALWAYS, NEVER | No | CUSTOM |
| ikev2_ | Integer | min: 1, max: 100 | No | 50 |
| ikev2_ | Integer | min: 1, max: 100 | No | 100 |
| ikev2_ | Integer | No | -1 | |
| ipsec_ | Integer | min: 10, max: 30 | No | |
| nat_ | Integer | min: 10, max: 3600 | No | 20 |
certificate_to_connection_profile_mappings (fmc.domains.vpns.remote_access.certificate_map)
Section titled “certificate_to_connection_profile_mappings (fmc.domains.vpns.remote_access.certificate_map)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| certificate_map | String | Yes | ||
| connection_ | String | Yes |
primary_authentication (fmc.domains.vpns.remote_access.connection_profiles)
Section titled “primary_authentication (fmc.domains.vpns.remote_access.connection_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| server | Any | Choice[LOCAL] or String | Yes | |
| fallback_ | Boolean | true, false | No | |
| prefill_ | Choice | CN_COMMMON_NAME, C_COUNTRY, DNQ_, EA_, GENQ_, GN_GIVEN_NAME, I_INITIAL, L_LOCALITY, N_NAME, O_ORGANISATION, OU_, SER_, SN_SURNAME, SP_, T_TITLE, UID_USER_ID, UPN_, NONE | No | |
| prefill_ | Choice | CN_COMMMON_NAME, C_COUNTRY, DNQ_, EA_, GENQ_, GN_GIVEN_NAME, I_INITIAL, L_LOCALITY, N_NAME, O_ORGANISATION, OU_, SER_, SN_SURNAME, SP_, T_TITLE, UID_USER_ID, UPN_, NONE | No | |
| prefill_ | Boolean | true, false | No | |
| hide_ | Boolean | true, false | No |
secondary_authentication (fmc.domains.vpns.remote_access.connection_profiles)
Section titled “secondary_authentication (fmc.domains.vpns.remote_access.connection_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| server | Any | Choice[LOCAL] or String | Yes | |
| fallback_ | Boolean | true, false | No | |
| prompt_ | Boolean | true, false | No | |
| use_ | Boolean | true, false | No | |
| use_ | Boolean | true, false | No |
alias_names (fmc.domains.vpns.remote_access.connection_profiles)
Section titled “alias_names (fmc.domains.vpns.remote_access.connection_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Yes | ||
| enabled | Boolean | true, false | No |
alias_urls (fmc.domains.vpns.remote_access.connection_profiles)
Section titled “alias_urls (fmc.domains.vpns.remote_access.connection_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| url_object | String | Yes | ||
| enabled | Boolean | true, false | No |
attribute_maps (fmc.domains.vpns.remote_access.ldap_attribute_maps)
Section titled “attribute_maps (fmc.domains.vpns.remote_access.ldap_attribute_maps)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ldap_ | String | Yes | ||
| cisco_ | String | Yes | ||
| value_maps | List | value_maps | No |
value_maps (fmc.domains.vpns.remote_access.ldap_attribute_maps.attribute_maps)
Section titled “value_maps (fmc.domains.vpns.remote_access.ldap_attribute_maps.attribute_maps)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ldap_ | String | Yes | ||
| cisco_ | String | Yes |
Examples
Section titled “Examples”Prerequisites:
existing: fmc: domains: - name: Global objects: group_policies: - name: DfltGrpPolicyfmc: domains: - name: Global objects:
hosts: - name: MyHostName1 ip: 10.10.10.1
security_zones: - name: MySecurityZoneName1
interface_groups: - name: MyInterfaceGroupName1
certificate_enrollments: - name: MyCertificateEnrollmentName1 description: PKCS12 certificate enrollment example enrollment_type: PKCS12 pkcs12: certificate_file: files/cert.p12 passphrase: cisco123
secure_client_images: - name: MySecureClientImageName1 description: My Secure Client Image Description 1 path: files/cisco-secure-client-win-arm64-5.1.9.113-webdeploy-k9.pkg
ikev2_policies: - name: MyIKEv2Policy1 dh_groups: - 14 - 24 encryption_algorithms: - AES-256 - AES-GCM-256 integrity_algorithms: - SHA-256 - SHA-384 lifetime: 28800 priority: 1 prf_algorithms: - SHA-256
radius_server_groups: - name: MyRadiusServerGroupName1 description: "Radius Server Group Description 1" dynamic_authorization_port: 1700 radius_servers: - hostname: "radius1.example.com" key: SecretKey1 - hostname: "radius2.example.com" key: SecretKey2 interface: MySecurityZoneName1 - hostname: "radius3.example.com" key: SecretKey3 interface: MyInterfaceGroupName1Remote Access VPN:
fmc: domains: - name: Global vpns: remote_access: - name: MyRemoteAccessVPNName1 description: My remote access VPN description protocol_ssl: true protocol_ipsec_ikev2: true access_interfaces: - name: MySecurityZoneName1 protocol_ssl: true protocol_ipsec_ikev2: true protocol_ssl_dtls: true ssl_global_identity_certificate: MyCertificateEnrollmentName1 ipsec_ikev2_identity_certificate: MyCertificateEnrollmentName1 secure_client_images: - name: MySecureClientImageName1 operating_system: WINDOWS group_policies: - DfltGrpPolicy ipsec_ikev2_policies: - MyIKEv2Policy1 address_assignment_policy: ipv4_use_dhcp: true connection_profiles: - name: MyConnectionProfileName2 group_policy: MyGroupPolicyName1 dhcp_servers: - MyHostName1 authentication_method: AAA_ONLY primary_authentication: server: MyRadiusServerGroupName1 load_balancing: ipv4_group_address: 10.20.1.1 interface: MyInterfaceGroupName1 port: 4445 ipsec_crypto_maps: - interface: MySecurityZoneName1 ikev2_ipsec_proposals: - MyIKEv2IPSecProposal1 lifetime_duration: 25500 ipsec_ike_parameters: nat_keepalive_message_traversal_interval: 30Examples
Section titled “Examples”Pre-requisites:
existing: fmc: domains: - name: Global objects: group_policies: - name: DfltGrpPolicyfmc: domains: - name: Global objects:
hosts: - name: MyHostName1 ip: 10.10.10.1
security_zones: - name: MySecurityZoneName1
interface_groups: - name: MyInterfaceGroupName1
certificate_enrollments: - name: MyCertificateEnrollmentName1 description: PKCS12 certificate enrollment example enrollment_type: PKCS12 pkcs12: certificate_file: files/cert.p12 passphrase: cisco123
secure_client_images: - name: MySecureClientImageName1 description: My Secure Client Image Description 1 path: files/cisco-secure-client-win-arm64-5.1.9.113-webdeploy-k9.pkg
ikev2_policies: - name: MyIKEv2Policy1 dh_groups: - 14 - 24 encryption_algorithms: - AES-256 - AES-GCM-256 integrity_algorithms: - SHA-256 - SHA-384 lifetime: 28800 priority: 1 prf_algorithms: - SHA-256
radius_server_groups: - name: MyRadiusServerGroupName1 description: "Radius Server Group Description 1" dynamic_authorization_port: 1700 radius_servers: - hostname: "radius1.example.com" key: SecretKey1 - hostname: "radius2.example.com" key: SecretKey2 interface: MySecurityZoneName1 - hostname: "radius3.example.com" key: SecretKey3 interface: MyInterfaceGroupName1Site-to-site VPN:
fmc: domains: - name: Global vpns: remote_access: - name: MyRemoteAccessVPNName1 description: My remote access VPN description protocol_ssl: true protocol_ipsec_ikev2: true access_interfaces: - name: MySecurityZoneName1 protocol_ssl: true protocol_ipsec_ikev2: true protocol_ssl_dtls: true ssl_global_identity_certificate: MyCertificateEnrollmentName1 ipsec_ikev2_identity_certificate: MyCertificateEnrollmentName1 secure_client_images: - name: MySecureClientImageName1 operating_system: WINDOWS group_policies: - DfltGrpPolicy ipsec_ikev2_policies: - MyIKEv2Policy1 address_assignment_policy: ipv4_use_dhcp: true connection_profiles: - name: MyConnectionProfileName2 group_policy: MyGroupPolicyName1 dhcp_servers: - MyHostName1 authentication_method: AAA_ONLY primary_authentication: server: MyRadiusServerGroupName1 load_balancing: ipv4_group_address: 10.20.1.1 interface: MyInterfaceGroupName1 port: 4445 ipsec_crypto_maps: - interface: MySecurityZoneName1 ikev2_ipsec_proposals: - MyIKEv2IPSecProposal1 lifetime_duration: 25500 ipsec_ike_parameters: nat_keepalive_message_traversal_interval: 30