peer
ip/ipsec/peer
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| D | dynamic | dynamic |
| R | responder | responder |
| Argument | Type | Description |
|---|---|---|
| name | string | |
| address | alt { prefix6: ip6Prefix , prefix4: ipPrefix , dns: string } | |
| local-address | alt { ipv6: ip6Addr , ip: ipAddr } | |
| passive | bool | Passive peer won't initiate connection |
| port | num | peer's port |
| profile | enum | |
| exchange-mode | enum (main | aggressive | ike2) | |
| send-initial-contact | bool | |
| ppk-secret | string | static PPK secret with "static-ppk-secret" ID used when no one-time key/psk exist for this peer, ensure the key has 256 bits of entropy |
| Read-only Argument | Type | Description |
|---|---|---|
| current-address | alt { ipv6: ip6Addr , ip: ipAddr } |