| Argument | Type | Description |
|---|
| name | string | |
| mac-address | macAddr | |
| max-mtu | num | |
| connect-to ( mandatory ) | address (flags=D46v) | |
| port | num | |
| mode | enum (ip | ethernet) { ip:0, ethernet:1 } | |
| protocol | enum (tcp | udp) | |
| user ( mandatory ) | string | |
| password | string | |
| profile | enum | |
| certificate | enum (none) { none:0 } | |
| verify-server-certificate | bool | |
| tls-version | enum (any | only-1.2) { any:0, only-1.2:2 } | |
| auth | enum (sha1 | md5 | sha256 | sha384 | sha512 | null) { sha1:1, md5:2, sha256:8, sha384:32, sha512:16, null:4 } | |
| cipher | enum (blowfish128 | aes128-cbc | aes192-cbc | aes256-cbc | aes128-gcm | aes192-gcm | aes256-gcm | null) { blowfish128:1, aes128-cbc:2, aes192-cbc:4, aes256-cbc:8, aes128-gcm:16, aes192-gcm:32, aes256-gcm:64, null:128 } | |
| use-peer-dns | enum (no | yes | exclusively) { no:0, yes:1, exclusively:2 } | |
| add-default-route | bool | |
| route-nopull | bool | If enabled client will not use any routes pushed by server (including def1) |
| disconnect-notify | bool | Send explicit disconnect notification when using UDP mode |