ovpn-client
interface/ovpn-client
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| R | running | running |
| H | hw-crypto | hw-crypto |
| Ta | tls-auth | tls-auth |
| Tc | tls-crypt | tls-crypt |
| Argument | Type | Description |
|---|---|---|
| name | string | |
| mac-address | macAddr | |
| max-mtu | num | |
| connect-to ( mandatory ) | address (flags=D46v) | |
| port | num | |
| mode | enum (ip | ethernet) | |
| protocol | enum (tcp | udp) | |
| user ( mandatory ) | string | |
| password | string | |
| profile | enum | |
| certificate | enum (none) | |
| verify-server-certificate | bool | |
| tls-version | enum (any | only-1.2) | |
| auth | enum (sha1 | md5 | sha256 | sha384 | sha512 | null) | |
| cipher | enum (blowfish128 | aes128-cbc | aes192-cbc | aes256-cbc | aes128-gcm | aes192-gcm | aes256-gcm | null) | |
| use-peer-dns | enum (no | yes | exclusively) | |
| add-default-route | bool | |
| route-nopull | bool | |
| disconnect-notify | bool { } |
interface/ovpn-client/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| status | string | |
| uptime | time | |
| encoding | string | |
| mtu | num | |
| local-address | ipAddr | |
| remote-address | ipAddr |
interface/ovpn-client/import-ovpn-configuration
Type: Command
| Argument | Type | Description |
|---|---|---|
| file-name | file_enum | |
| skip-cert-import | bool | |
| key-passphrase | string | |
| ovpn-user | string | |
| ovpn-password | string |
| Read-only Argument | Type | Description |
|---|---|---|
| progress | string |