| Argument | Type | Description |
|---|
| name | string | |
| port | num | |
| mode | enum (ip | ethernet) { ip:0, ethernet:1 } | |
| protocol | enum (tcp | udp) | |
| netmask | num | |
| mac-address | macAddr | |
| max-mtu | num | |
| keepalive-timeout | enum (disabled) { disabled:0 } | |
| default-profile | enum | |
| certificate | enum | |
| require-client-certificate | bool | |
| tls-version | enum (any | only-1.2) { any:0, only-1.2:2 } | |
| auth | ubit (sha1, md5, sha256, sha384, sha512, null) | |
| cipher | ubit (blowfish128, aes128-cbc, aes192-cbc, aes256-cbc, aes128-gcm, aes192-gcm, aes256-gcm, null) | |
| reneg-sec | num | Encryption key re-negotiation interval (0 - disabled) |
| redirect-gateway | ubit (disabled, def1, ipv6) | Push 'redirect-gateway def1 ipv6' options to VPN clients |
| push-routes | string | |
| push-routes-ipv6 | string | |
| enable-tun-ipv6 | bool | Enable ipv6 inside ovpn tunnel |
| tun-server-ipv6 | ip6Addr | Server ipv6 address |
| ipv6-prefix-len | num | Prefix length used for tunneled ipv6 |
| vrf | enum | |
| user-auth-method | enum (pap | mschap2) { pap:16, mschap2:2 } | |