create_ipsec_phase1_encryption
Adds an encryption algorithm entry to an existing IPsec Phase 1 configuration in pfSense, specifying cipher, key length, hash, and DH group for VPN tunnel security.
Instructions
Create an IPsec Phase 1 encryption algorithm entry
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"parent_id": "<parent_id>",
"encryption_algorithm_name": "<encryption_algorithm_name>"
},
"name": "create_ipsec_phase1_encryption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dhgroup | No | Diffie-Hellman group number (1, 2, 5, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 28, 29, 30, 31, 32) | |
| parent_id | Yes | Parent Phase 1 ID to associate this encryption with | |
| prf_algorithm | No | PRF algorithm for IKEv2 (sha1, sha256, sha384, sha512, aesxcbc) | |
| hash_algorithm | No | Hash algorithm (sha1, sha256, sha384, sha512, aesxcbc, md5) | |
| apply_immediately | No | Whether to apply changes immediately | |
| encryption_algorithm_name | Yes | Encryption algorithm (aes, aes128gcm, aes192gcm, aes256gcm, blowfish, 3des, cast128) | |
| encryption_algorithm_keylen | No | Key length in bits (128, 192, 256; required for variable-length algorithms like AES) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||