|
| 1 | +## stackit beta vpn connection create |
| 2 | + |
| 3 | +Creates a VPN connection |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a VPN connection. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta vpn connection create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a VPN connection |
| 17 | + $ stackit beta vpn connection create --gateway-id xxx --display-name my-connection --tunnel1-remote-address 1.2.3.4 --tunnel2-remote-address 5.6.7.8 |
| 18 | +``` |
| 19 | + |
| 20 | +### Options |
| 21 | + |
| 22 | +``` |
| 23 | + --display-name string Required: A user friendly name for the connection. |
| 24 | + --enabled Enable the connection (default true) |
| 25 | + --gateway-id string Required: Gateway ID |
| 26 | + -h, --help Help for "stackit beta vpn connection create" |
| 27 | + --labels stringToString Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the LabelValue except that it cannot be empty. (example: foo=bar) (default []) |
| 28 | + --local-subnets strings Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. |
| 29 | + --remote-subnets strings Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based. |
| 30 | + --static-routes strings Use this for route-based VPN. |
| 31 | + --tunnel1-bgp-remote-asn int Required: Tunnel 1 BGP Remote ASN. |
| 32 | + ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996). |
| 33 | + --tunnel1-peering-local-address string Tunnel 1 Peering Local Address. |
| 34 | + The peering object defines the point-to-point IP configuration for the Tunnel Interface. These addresses serve as next-hop identifiers and are used for BGP peering sessions and can be used in Static Route-Based connectivity. |
| 35 | + --tunnel1-peering-remote-address string Tunnel 1 Peering Remote Address |
| 36 | + --tunnel1-phase1-dh-groups strings Tunnel 1 Phase 1 DH Groups. |
| 37 | + The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. (possible values: [modp1024, modp2048, ecp256, ecp384, modp2048s256]) (default []) |
| 38 | + --tunnel1-phase1-encryption-algorithms strings Required: Tunnel 1 Phase 1 Encryption Algorithms (possible values: [aes256, aes128gcm16, aes256gcm16]) (default []) |
| 39 | + --tunnel1-phase1-integrity-algorithms strings Required: Tunnel 1 Phase 1 Integrity Algorithms (possible values: [sha1, sha2_256, sha2_384]) (default []) |
| 40 | + --tunnel1-phase1-rekey-time int Tunnel 1 Phase 1 Rekey Time. |
| 41 | + Time to schedule a IKE re-keying (in seconds). |
| 42 | + --tunnel1-phase2-dh-groups strings Tunnel 1 Phase 2 DH Groups (possible values: [modp1024, modp2048, ecp256, ecp384, modp2048s256]) (default []) |
| 43 | + --tunnel1-phase2-dpd-action string Tunnel 1 Phase 2 DPD Action. |
| 44 | + Action to perform for this CHILD_SA on DPD timeout. "clear": Closes the CHILD_SA and does not take further action. "restart": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA. (possible values: [clear, restart]) |
| 45 | + --tunnel1-phase2-encryption-algorithms strings Required: Tunnel 1 Phase 2 Encryption Algorithms (possible values: [aes256, aes128gcm16, aes256gcm16]) (default []) |
| 46 | + --tunnel1-phase2-integrity-algorithms strings Required: Tunnel 1 Phase 2 Integrity Algorithms (possible values: [sha1, sha2_256, sha2_384]) (default []) |
| 47 | + --tunnel1-phase2-rekey-time int Tunnel 1 Phase 2 Rekey Time. |
| 48 | + Time to schedule a Child SA re-keying (in seconds). |
| 49 | + --tunnel1-phase2-start-action string Tunnel 1 Phase 2 Start Action. |
| 50 | + Action to perform after loading the connection configuration. "none": The connection will be loaded but needs to be manually initiated. "start": initiates the connection actively. (possible values: [none, start]) |
| 51 | + --tunnel1-pre-shared-key string Required: Tunnel 1 Pre Shared Key. |
| 52 | + A Pre-Shared Key for authentication. Required in create-requests, optional in update-requests and omitted in every response. |
| 53 | + --tunnel1-remote-address string Tunnel 1 Remote Address |
| 54 | + --tunnel2-bgp-remote-asn int Tunnel 2 BGP Remote ASN |
| 55 | + --tunnel2-peering-local-address string Tunnel 2 Peering Local Address. |
| 56 | + The peering object defines the point-to-point IP configuration for the Tunnel Interface. These addresses serve as next-hop identifiers and are used for BGP peering sessions and can be used in Static Route-Based connectivity. |
| 57 | + --tunnel2-peering-remote-address string Tunnel 2 Peering Remote Address |
| 58 | + --tunnel2-phase1-dh-groups strings Tunnel 2 Phase 1 DH Groups |
| 59 | + The Diffie-Hellman Group. Required, except if AEAD algorithms are selected. (possible values: [modp1024, modp2048, ecp256, ecp384, modp2048s256]) (default []) |
| 60 | + --tunnel2-phase1-encryption-algorithms strings Required: Tunnel 2 Phase 1 Encryption Algorithms (possible values: [aes256, aes128gcm16, aes256gcm16]) (default []) |
| 61 | + --tunnel2-phase1-integrity-algorithms strings Required: Tunnel 2 Phase 1 Integrity Algorithms (possible values: [sha1, sha2_256, sha2_384]) (default []) |
| 62 | + --tunnel2-phase1-rekey-time int Tunnel 2 Phase 1 Rekey Time. |
| 63 | + Time to schedule a IKE re-keying (in seconds). |
| 64 | + --tunnel2-phase2-dh-groups strings Tunnel 2 Phase 2 DH Groups (possible values: [modp1024, modp2048, ecp256, ecp384, modp2048s256]) (default []) |
| 65 | + --tunnel2-phase2-dpd-action string Tunnel 2 Phase 2 DPD Action. |
| 66 | + Action to perform for this CHILD_SA on DPD timeout. "clear": Closes the CHILD_SA and does not take further action. "restart": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA. (possible values: [clear, restart]) |
| 67 | + --tunnel2-phase2-encryption-algorithms strings Required: Tunnel 2 Phase 2 Encryption Algorithms (possible values: [aes256, aes128gcm16, aes256gcm16]) (default []) |
| 68 | + --tunnel2-phase2-integrity-algorithms strings Required: Tunnel 2 Phase 2 Integrity Algorithms (possible values: [sha1, sha2_256, sha2_384]) (default []) |
| 69 | + --tunnel2-phase2-rekey-time int Tunnel 2 Phase 2 Rekey Time. |
| 70 | + Time to schedule a Child SA re-keying (in seconds). |
| 71 | + --tunnel2-phase2-start-action string Tunnel 2 Phase 2 Start Action. |
| 72 | + Default: "start" |
| 73 | + Enum: "none" "start" |
| 74 | + Action to perform after loading the connection configuration. "none": The connection will be loaded but needs to be manually initiated. "start": initiates the connection actively. (possible values: [none, start]) |
| 75 | + --tunnel2-pre-shared-key string Required: Tunnel 2 Pre Shared Key. |
| 76 | + A Pre-Shared Key for authentication. Required in create-requests, optional in update-requests and omitted in every response. |
| 77 | + --tunnel2-remote-address string Tunnel 2 Remote Address |
| 78 | +``` |
| 79 | + |
| 80 | +### Options inherited from parent commands |
| 81 | + |
| 82 | +``` |
| 83 | + -y, --assume-yes If set, skips all confirmation prompts |
| 84 | + --async If set, runs the command asynchronously |
| 85 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 86 | + -p, --project-id string Project ID |
| 87 | + --region string Target region for region-specific requests |
| 88 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 89 | +``` |
| 90 | + |
| 91 | +### SEE ALSO |
| 92 | + |
| 93 | +* [stackit beta vpn connection](./stackit_beta_vpn_connection.md) - Provides functionality for VPN connections |
| 94 | + |
0 commit comments