To configure IPSec actions, include the then statement at the [edit services ipsec-vpn rule rule-name term term-name] hierarchy level:
-
then {
-
backup-remote-gateway address;
-
clear-dont-fragment-bit;
-
-
dynamic {
- ike-policy policy-name;
- ipsec-policy policy-name;
- }
-
initiate-dead-peer-detection;
-
-
manual {
-
-
direction (inbound | outbound |
bidirectional) {
-
-
authentication {
- algorithm (hmac-md5-96 | hmac-sha1-96);
- key (ascii-text key | hexadecimal key);
- }
-
auxiliary-spi spi-value;
-
-
encryption {
- algorithm algorithm;
- key (ascii-text key | hexadecimal key);
- }
-
protocol (ah | bundle | esp);
-
spi spi-value;
- }
- }
-
no-anti-replay;
-
remote-gateway address;
-
syslog;
-
tunnel-mtu bytes;
- }
The principal IPSec actions are to configure a dynamic or manual SA:
You can configure the following additional properties: